home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Hyper / T / Timekeeper2.5 Demo.cpt / Timekeeper2.5 Demo / Timekeeper < prev   
MacBinary  |  1992-01-05  |  124.8 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Timekeeper

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sun Jan 5 11:46:28 1992, modified Sun Jan 5 11:46:28 1992, creator HyperCard, type HyperCard stack, 83392 bytes "Timekeeper" , at 0x14640 44143 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 54 69 6d 65 6b 65 | 65 70 65 72 00 00 00 00 |..Timeke|eper....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 45 c0 00 | 00 ac 6f a5 8c e6 e4 a5 |.....E..|..o.....|
|00000060| 8c e6 e4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8b 38 00 00 |........|.....8..|
|00000080| 00 00 4e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..N.STAK|........|
|00000090| 00 00 00 0a 00 01 45 c0 | 00 00 4e 00 00 00 00 00 |......E.|..N.....|
|000000a0| 00 00 00 00 00 00 00 03 | 00 00 0a b8 00 00 00 03 |........|........|
|000000b0| 00 00 0b 70 00 00 18 b7 | 00 00 00 00 00 00 00 00 |...p....|........|
|000000c0| 00 00 10 45 00 00 00 00 | 00 05 00 00 10 00 00 00 |...E....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| da f3 1b c2 00 00 00 00 | 01 01 00 20 02 57 02 20 |........|... .W. |
|00000100| 00 00 00 00 03 66 02 80 | 00 00 00 00 00 00 00 00 |.....f..|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d a9 00 00 0c d1 | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-- | |
|00000690| 20 20 20 20 20 20 20 20 | 20 20 20 54 49 4d 45 4b | | TIMEK|
|000006a0| 45 45 50 45 52 20 44 65 | 6d 6f 20 76 2e 20 32 2e |EEPER De|mo v. 2.|
|000006b0| 35 0d 2d 2d 20 20 20 20 | 20 20 20 20 20 20 20 20 |5.-- | |
|000006c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006d0| 43 6f 70 79 72 69 67 68 | 74 20 31 39 39 31 0d 2d |Copyrigh|t 1991.-|
|000006e0| 2d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |- | |
|000006f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 62 79 20 44 | | by D|
|00000700| 65 6e 6e 69 73 20 42 69 | 72 63 68 0d 2d 2d 20 20 |ennis Bi|rch.-- |
|00000710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000720| 20 20 20 20 20 20 20 41 | 6c 6c 20 72 69 67 68 74 | A|ll right|
|00000730| 73 20 72 65 73 65 72 76 | 65 64 0d 2d 2d 0d 2d 2d |s reserv|ed.--.--|
|00000740| 20 20 20 20 20 20 20 20 | 20 20 20 20 53 68 6f 77 | | Show|
|00000750| 44 69 61 6c 6f 67 20 58 | 43 4d 44 20 43 6f 70 79 |Dialog X|CMD Copy|
|00000760| 72 69 67 68 74 20 31 39 | 38 38 2c 31 39 38 39 20 |right 19|88,1989 |
|00000770| 62 79 20 4a 61 79 20 48 | 6f 64 67 64 6f 6e 0d 2d |by Jay H|odgdon.-|
|00000780| 2d 20 20 20 20 20 20 20 | 20 20 4e 65 77 20 46 69 |- | New Fi|
|00000790| 6c 65 20 58 46 43 4e 20 | 63 6f 75 72 74 65 73 79 |le XFCN |courtesy|
|000007a0| 20 41 6e 64 72 65 77 20 | 47 69 6c 6d 61 72 74 69 | Andrew |Gilmarti|
|000007b0| 6e 2c 20 42 72 6f 77 6e | 20 55 6e 69 76 65 72 73 |n, Brown| Univers|
|000007c0| 69 74 79 0d 0d 2d 2d 20 | 20 20 20 20 20 20 20 20 |ity..-- | |
|000007d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 52 65 | | Re|
|000007e0| 76 69 73 65 64 20 44 65 | 63 65 6d 62 65 72 20 32 |vised De|cember 2|
|000007f0| 39 2c 20 31 39 39 31 0d | 0d 6f 6e 20 72 65 73 75 |9, 1991.|.on resu|
|00000800| 6d 65 53 74 61 63 6b 0d | 67 6c 6f 62 61 6c 20 62 |meStack.|global b|
|00000810| 67 69 64 0d 73 74 61 72 | 74 53 74 75 66 66 0d 69 |gid.star|tStuff.i|
|00000820| 66 20 62 67 69 64 20 ad | 20 65 6d 70 74 79 20 74 |f bgid .| empty t|
|00000830| 68 65 6e 20 73 65 6e 64 | 20 6f 70 65 6e 42 61 63 |hen send| openBac|
|00000840| 6b 67 72 6f 75 6e 64 20 | 74 6f 20 62 67 20 69 64 |kground |to bg id|
|00000850| 20 62 67 69 64 0d 65 6e | 64 20 72 65 73 75 6d 65 | bgid.en|d resume|
|00000860| 53 74 61 63 6b 0d 0d 6f | 6e 20 6f 70 65 6e 53 74 |Stack..o|n openSt|
|00000870| 61 63 6b 0d 73 74 61 72 | 74 53 74 75 66 66 0d 65 |ack.star|tStuff.e|
|00000880| 6e 64 20 6f 70 65 6e 53 | 74 61 63 6b 0d 0d 6f 6e |nd openS|tack..on|
|00000890| 20 73 74 61 72 74 53 74 | 75 66 66 0d 67 6c 6f 62 | startSt|uff.glob|
|000008a0| 61 6c 20 73 74 61 72 74 | 4c 65 76 65 6c 2c 62 67 |al start|Level,bg|
|000008b0| 69 64 2c 74 6b 50 72 65 | 66 73 0d 73 65 74 20 63 |id,tkPre|fs.set c|
|000008c0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 6c |ursor to| watch.l|
|000008d0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 70 75 74 20 66 |ock scre|en.put f|
|000008e0| 6c 64 20 69 64 20 34 38 | 20 6f 66 20 66 69 72 73 |ld id 48| of firs|
|000008f0| 74 20 63 64 20 69 6e 74 | 6f 20 74 6b 50 72 65 66 |t cd int|o tkPref|
|00000900| 73 0d 68 69 64 65 20 6d | 65 73 73 61 67 65 0d 68 |s.hide m|essage.h|
|00000910| 69 64 65 20 70 61 74 74 | 65 72 6e 20 77 69 6e 64 |ide patt|ern wind|
|00000920| 6f 77 0d 68 69 64 65 20 | 74 6f 6f 6c 20 77 69 6e |ow.hide |tool win|
|00000930| 64 6f 77 0d 63 68 6f 6f | 73 65 20 62 72 6f 77 73 |dow.choo|se brows|
|00000940| 65 20 74 6f 6f 6c 0d 69 | 66 20 74 68 65 72 65 20 |e tool.i|f there |
|00000950| 69 73 20 6e 6f 74 20 61 | 20 6d 65 6e 75 20 22 54 |is not a| menu "T|
|00000960| 69 6d 65 6b 65 65 70 65 | 72 22 20 74 68 65 6e 20 |imekeepe|r" then |
|00000970| 63 72 65 61 74 65 20 6d | 65 6e 75 20 22 54 69 6d |create m|enu "Tim|
|00000980| 65 6b 65 65 70 65 72 22 | 0d 73 68 6f 77 20 6d 65 |ekeeper"|.show me|
|00000990| 6e 75 42 61 72 0d 69 66 | 20 74 68 65 72 65 20 69 |nuBar.if| there i|
|000009a0| 73 20 61 20 6d 65 6e 75 | 20 22 4f 62 6a 65 63 74 |s a menu| "Object|
|000009b0| 73 22 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6d |s" then |delete m|
|000009c0| 65 6e 75 20 22 4f 62 6a | 65 63 74 73 22 0d 69 66 |enu "Obj|ects".if|
|000009d0| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|000009e0| 20 22 45 64 69 74 22 20 | 74 68 65 6e 20 64 65 6c | "Edit" |then del|
|000009f0| 65 74 65 20 6d 65 6e 75 | 20 22 45 64 69 74 22 0d |ete menu| "Edit".|
|00000a00| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|00000a10| 6e 75 20 22 54 6f 6f 6c | 73 22 20 74 68 65 6e 20 |nu "Tool|s" then |
|00000a20| 64 65 6c 65 74 65 20 6d | 65 6e 75 20 22 54 6f 6f |delete m|enu "Too|
|00000a30| 6c 73 22 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ls".if t|here is |
|00000a40| 61 20 6d 65 6e 75 20 22 | 53 74 79 6c 65 22 20 74 |a menu "|Style" t|
|00000a50| 68 65 6e 20 64 65 6c 65 | 74 65 20 6d 65 6e 75 20 |hen dele|te menu |
|00000a60| 22 53 74 79 6c 65 22 0d | 69 66 20 74 68 65 72 65 |"Style".|if there|
|00000a70| 20 69 73 20 61 20 6d 65 | 6e 75 20 22 46 6f 6e 74 | is a me|nu "Font|
|00000a80| 22 20 74 68 65 6e 20 64 | 65 6c 65 74 65 20 6d 65 |" then d|elete me|
|00000a90| 6e 75 20 22 46 6f 6e 74 | 22 0d 69 66 20 74 68 65 |nu "Font|".if the|
|00000aa0| 72 65 20 69 73 20 61 20 | 6d 65 6e 75 49 74 65 6d |re is a |menuItem|
|00000ab0| 20 22 44 65 6c 65 74 65 | 20 53 74 61 63 6b 2e 2e | "Delete| Stack..|
|00000ac0| 2e 22 20 6f 66 20 6d 65 | 6e 75 20 46 69 6c 65 20 |." of me|nu File |
|00000ad0| 74 68 65 6e 20 c2 0d 64 | 65 6c 65 74 65 20 6d 65 |then ..d|elete me|
|00000ae0| 6e 75 49 74 65 6d 20 22 | 44 65 6c 65 74 65 20 53 |nuItem "|Delete S|
|00000af0| 74 61 63 6b 2e 2e 2e 22 | 20 6f 66 20 6d 65 6e 75 |tack..."| of menu|
|00000b00| 20 46 69 6c 65 0d 73 65 | 74 20 74 68 65 20 63 61 | File.se|t the ca|
|00000b10| 6e 74 50 65 65 6b 20 6f | 66 20 74 68 69 73 20 73 |ntPeek o|f this s|
|00000b20| 74 61 63 6b 20 74 6f 20 | 74 72 75 65 0d 70 75 74 |tack to |true.put|
|00000b30| 20 74 68 65 20 75 73 65 | 72 4c 65 76 65 6c 20 69 | the use|rLevel i|
|00000b40| 6e 74 6f 20 73 74 61 72 | 74 4c 65 76 65 6c 0d 73 |nto star|tLevel.s|
|00000b50| 65 74 20 74 68 65 20 75 | 73 65 72 4c 65 76 65 6c |et the u|serLevel|
|00000b60| 20 74 6f 20 33 0d 75 6e | 6c 6f 63 6b 20 73 63 72 | to 3.un|lock scr|
|00000b70| 65 65 6e 0d 65 6e 64 20 | 73 74 61 72 74 53 74 75 |een.end |startStu|
|00000b80| 66 66 0d 0d 6f 6e 20 63 | 6c 6f 73 65 53 74 61 63 |ff..on c|loseStac|
|00000b90| 6b 0d 67 6c 6f 62 61 6c | 20 73 74 61 72 74 4c 65 |k.global| startLe|
|00000ba0| 76 65 6c 2c 74 6b 50 72 | 65 66 73 0d 70 72 65 66 |vel,tkPr|efs.pref|
|00000bb0| 53 65 74 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |Set.put |empty in|
|00000bc0| 74 6f 20 62 67 69 64 0d | 72 65 73 65 74 20 6d 65 |to bgid.|reset me|
|00000bd0| 6e 75 62 61 72 0d 68 69 | 64 65 20 66 6c 64 20 69 |nubar.hi|de fld i|
|00000be0| 64 20 35 38 20 6f 66 20 | 66 69 72 73 74 20 63 64 |d 58 of |first cd|
|00000bf0| 0d 68 69 64 65 20 66 6c | 64 20 69 64 20 35 37 20 |.hide fl|d id 57 |
|00000c00| 6f 66 20 66 69 72 73 74 | 20 63 64 0d 69 66 20 66 |of first| cd.if f|
|00000c10| 72 65 65 53 69 7a 65 20 | 6f 66 20 74 68 69 73 20 |reeSize |of this |
|00000c20| 73 74 61 63 6b 20 3e 20 | 31 32 30 30 30 20 74 68 |stack > |12000 th|
|00000c30| 65 6e 20 64 6f 4d 65 6e | 75 20 22 43 6f 6d 70 61 |en doMen|u "Compa|
|00000c40| 63 74 20 53 74 61 63 6b | 22 0d 73 65 74 20 74 68 |ct Stack|".set th|
|00000c50| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 74 6f 20 73 |e userLe|vel to s|
|00000c60| 74 61 72 74 4c 65 76 65 | 6c 0d 65 6e 64 20 63 6c |tartLeve|l.end cl|
|00000c70| 6f 73 65 53 74 61 63 6b | 0d 0d 6f 6e 20 64 65 6c |oseStack|..on del|
|00000c80| 43 61 72 64 0d 67 6c 6f | 62 61 6c 20 63 61 72 64 |Card.glo|bal card|
|00000c90| 4e 75 6d 2c 63 75 74 4c | 69 6e 65 2c 66 72 6f 6d |Num,cutL|ine,from|
|00000ca0| 46 69 65 6c 64 2c 74 72 | 75 6e 63 46 69 65 6c 64 |Field,tr|uncField|
|00000cb0| 0d 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |.if the |number o|
|00000cc0| 66 20 63 64 73 20 69 6e | 20 74 68 69 73 20 62 67 |f cds in| this bg|
|00000cd0| 20 3c 32 20 6f 72 20 74 | 68 65 20 63 61 6e 74 64 | <2 or t|he cantd|
|00000ce0| 65 6c 65 74 65 20 6f 66 | 20 74 68 69 73 20 63 64 |elete of| this cd|
|00000cf0| 20 3d 20 74 72 75 65 20 | 74 68 65 6e 0d 62 65 65 | = true |then.bee|
|00000d00| 70 20 6f 6e 65 0d 73 68 | 6f 77 44 69 61 6c 6f 67 |p one.sh|owDialog|
|00000d10| 20 32 2c 32 39 35 31 2c | 22 53 6f 72 72 79 2c 20 | 2,2951,|"Sorry, |
|00000d20| 79 6f 75 20 63 61 6e d5 | 74 20 64 65 6c 65 74 65 |you can.|t delete|
|00000d30| 20 74 68 69 73 20 63 61 | 72 64 21 22 2c 22 22 2c | this ca|rd!","",|
|00000d40| 22 22 0d 65 78 69 74 20 | 64 65 6c 43 61 72 64 0d |"".exit |delCard.|
|00000d50| 65 6e 64 20 69 66 0d 62 | 65 65 70 20 74 77 6f 0d |end if.b|eep two.|
|00000d60| 73 68 6f 77 44 69 61 6c | 6f 67 20 31 2c 31 36 30 |showDial|og 1,160|
|00000d70| 35 30 2c 22 59 6f 75 20 | 64 6f 6e d5 74 20 52 45 |50,"You |don.t RE|
|00000d80| 41 4c 4c 59 20 77 61 6e | 74 20 74 6f 20 64 65 73 |ALLY wan|t to des|
|00000d90| 74 72 6f 79 20 61 6c 6c | 20 74 68 69 73 20 64 61 |troy all| this da|
|00000da0| 74 61 2c 20 44 4f 20 59 | 4f 55 3f 22 2c 54 52 55 |ta, DO Y|OU?",TRU|
|00000db0| 45 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |E.if the| result |
|00000dc0| 69 73 20 31 20 74 68 65 | 6e 20 65 78 69 74 20 64 |is 1 the|n exit d|
|00000dd0| 65 6c 43 61 72 64 0d 65 | 6c 73 65 0d 73 65 74 20 |elCard.e|lse.set |
|00000de0| 6c 6f 63 6b 53 63 72 65 | 65 6e 20 74 6f 20 74 72 |lockScre|en to tr|
|00000df0| 75 65 0d 70 75 74 20 66 | 6c 64 20 69 64 20 36 20 |ue.put f|ld id 6 |
|00000e00| 26 20 22 2c 22 20 26 20 | 66 6c 64 20 69 64 20 38 |& "," & |fld id 8|
|00000e10| 20 26 20 22 2c 22 20 26 | 20 66 6c 64 20 69 64 20 | & "," &| fld id |
|00000e20| 39 20 26 20 22 2c 22 20 | 26 20 74 68 65 20 73 68 |9 & "," |& the sh|
|00000e30| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00000e40| 20 63 64 c2 0d 69 6e 74 | 6f 20 63 75 74 4c 69 6e | cd..int|o cutLin|
|00000e50| 65 0d 64 6f 4d 65 6e 75 | 20 22 43 75 74 20 43 61 |e.doMenu| "Cut Ca|
|00000e60| 72 64 22 0d 69 66 20 77 | 6f 72 64 20 31 20 6f 66 |rd".if w|ord 1 of|
|00000e70| 20 69 74 65 6d 20 34 20 | 6f 66 20 63 75 74 4c 69 | item 4 |of cutLi|
|00000e80| 6e 65 20 3d 20 22 41 72 | 63 22 20 74 68 65 6e 0d |ne = "Ar|c" then.|
|00000e90| 70 75 74 20 35 32 20 69 | 6e 74 6f 20 66 72 6f 6d |put 52 i|nto from|
|00000ea0| 46 69 65 6c 64 0d 70 75 | 74 20 34 37 20 69 6e 74 |Field.pu|t 47 int|
|00000eb0| 6f 20 74 72 75 6e 63 46 | 69 65 6c 64 0d 65 6c 73 |o truncF|ield.els|
|00000ec0| 65 0d 67 6f 20 6c 61 73 | 74 20 63 64 0d 70 75 74 |e.go las|t cd.put|
|00000ed0| 20 66 6c 64 20 69 64 20 | 37 20 69 6e 74 6f 20 63 | fld id |7 into c|
|00000ee0| 61 72 64 4e 75 6d 0d 67 | 6f 20 62 67 20 69 64 20 |ardNum.g|o bg id |
|00000ef0| 32 37 34 34 0d 70 75 74 | 20 28 63 61 72 64 4e 75 |2744.put| (cardNu|
|00000f00| 6d 20 2b 20 31 29 20 69 | 6e 74 6f 20 66 6c 64 20 |m + 1) i|nto fld |
|00000f10| 69 64 20 39 20 6f 66 20 | 66 69 72 73 74 20 63 64 |id 9 of |first cd|
|00000f20| 0d 70 75 74 20 31 37 20 | 69 6e 74 6f 20 66 72 6f |.put 17 |into fro|
|00000f30| 6d 46 69 65 6c 64 0d 70 | 75 74 20 35 30 20 69 6e |mField.p|ut 50 in|
|00000f40| 74 6f 20 74 72 75 6e 63 | 46 69 65 6c 64 0d 65 6e |to trunc|Field.en|
|00000f50| 64 20 69 66 0d 73 65 74 | 20 64 6f 6e 74 53 65 61 |d if.set| dontSea|
|00000f60| 72 63 68 20 6f 66 20 66 | 6c 64 20 69 64 20 66 72 |rch of f|ld id fr|
|00000f70| 6f 6d 46 69 65 6c 64 20 | 6f 66 20 66 69 72 73 74 |omField |of first|
|00000f80| 20 63 64 20 74 6f 20 66 | 61 6c 73 65 0d 73 65 74 | cd to f|alse.set|
|00000f90| 20 6c 6f 63 6b 4d 65 73 | 73 61 67 65 73 20 74 6f | lockMes|sages to|
|00000fa0| 20 74 72 75 65 0d 66 69 | 6e 64 20 77 68 6f 6c 65 | true.fi|nd whole|
|00000fb0| 20 63 75 74 4c 69 6e 65 | 20 69 6e 20 66 6c 64 20 | cutLine| in fld |
|00000fc0| 69 64 20 66 72 6f 6d 46 | 69 65 6c 64 20 6f 66 20 |id fromF|ield of |
|00000fd0| 66 69 72 73 74 20 63 64 | 0d 69 66 20 74 68 65 20 |first cd|.if the |
|00000fe0| 72 65 73 75 6c 74 20 3d | 20 22 6e 6f 74 20 66 6f |result =| "not fo|
|00000ff0| 75 6e 64 22 20 74 68 65 | 6e 0d 73 65 74 20 64 6f |und" the|n.set do|
|00001000| 6e 74 53 65 61 72 63 68 | 20 6f 66 20 66 6c 64 20 |ntSearch| of fld |
|00001010| 69 64 20 66 72 6f 6d 46 | 69 65 6c 64 20 6f 66 20 |id fromF|ield of |
|00001020| 66 69 72 73 74 20 63 64 | 20 74 6f 20 74 72 75 65 |first cd| to true|
|00001030| 0d 65 78 69 74 20 64 65 | 6c 43 61 72 64 0d 65 6e |.exit de|lCard.en|
|00001040| 64 20 69 66 0d 64 65 6c | 65 74 65 20 74 68 65 20 |d if.del|ete the |
|00001050| 66 6f 75 6e 64 6c 69 6e | 65 0d 64 65 6c 65 74 65 |foundlin|e.delete|
|00001060| 20 6c 69 6e 65 20 28 77 | 6f 72 64 20 32 20 6f 66 | line (w|ord 2 of|
|00001070| 20 74 68 65 20 66 6f 75 | 6e 64 4c 69 6e 65 29 20 | the fou|ndLine) |
|00001080| 6f 66 20 66 6c 64 20 69 | 64 20 74 72 75 6e 63 46 |of fld i|d truncF|
|00001090| 69 65 6c 64 20 6f 66 20 | 66 69 72 73 74 20 63 64 |ield of |first cd|
|000010a0| 0d 73 65 74 20 6c 6f 63 | 6b 4d 65 73 73 61 67 65 |.set loc|kMessage|
|000010b0| 73 20 74 6f 20 66 61 6c | 73 65 0d 75 6e 6c 6f 63 |s to fal|se.unloc|
|000010c0| 6b 20 73 63 72 65 65 6e | 0d 65 6e 64 20 69 66 0d |k screen|.end if.|
|000010d0| 65 6e 64 20 64 65 6c 43 | 61 72 64 0d 0d 6f 6e 20 |end delC|ard..on |
|000010e0| 64 6f 4d 65 6e 75 20 77 | 68 69 63 68 0d 67 6c 6f |doMenu w|hich.glo|
|000010f0| 62 61 6c 20 74 69 6d 65 | 43 68 65 63 6b 0d 69 66 |bal time|Check.if|
|00001100| 20 77 68 69 63 68 20 3d | 20 22 51 75 69 74 20 48 | which =| "Quit H|
|00001110| 79 70 65 72 43 61 72 64 | 22 20 6f 72 20 77 68 69 |yperCard|" or whi|
|00001120| 63 68 20 3d 20 22 43 6c | 6f 73 65 20 53 74 61 63 |ch = "Cl|ose Stac|
|00001130| 6b 22 20 74 68 65 6e 0d | 69 66 20 74 69 6d 65 43 |k" then.|if timeC|
|00001140| 68 65 63 6b 20 3d 20 74 | 72 75 65 20 74 68 65 6e |heck = t|rue then|
|00001150| 20 73 68 6f 77 44 69 61 | 6c 6f 67 20 31 2c 34 36 | showDia|log 1,46|
|00001160| 39 35 2c c2 0d 22 59 6f | 75 d5 72 65 20 73 74 69 |95,.."Yo|u.re sti|
|00001170| 6c 6c 20 74 69 6d 69 6e | 67 20 61 20 6a 6f 62 2e |ll timin|g a job.|
|00001180| 20 41 72 65 20 79 6f 75 | 20 73 75 72 65 20 79 6f | Are you| sure yo|
|00001190| 75 20 77 61 6e 74 20 74 | 6f 20 71 75 69 74 3f 22 |u want t|o quit?"|
|000011a0| 2c 54 52 55 45 0d 69 66 | 20 74 68 65 20 72 65 73 |,TRUE.if| the res|
|000011b0| 75 6c 74 20 3d 20 34 20 | 74 68 65 6e 20 65 78 69 |ult = 4 |then exi|
|000011c0| 74 20 64 6f 4d 65 6e 75 | 0d 65 6c 73 65 0d 70 75 |t doMenu|.else.pu|
|000011d0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 74 69 6d |t false |into tim|
|000011e0| 65 43 68 65 63 6b 0d 70 | 61 73 73 20 64 6f 4d 65 |eCheck.p|ass doMe|
|000011f0| 6e 75 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |nu.end i|f.end if|
|00001200| 0d 70 61 73 73 20 64 6f | 4d 65 6e 75 0d 65 6e 64 |.pass do|Menu.end|
|00001210| 20 64 6f 4d 65 6e 75 0d | 0d 6f 6e 20 67 65 74 46 | doMenu.|.on getF|
|00001220| 6f 6e 74 73 0d 67 6c 6f | 62 61 6c 20 74 6b 50 72 |onts.glo|bal tkPr|
|00001230| 65 66 73 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |efs.set |cursor t|
|00001240| 6f 20 77 61 74 63 68 0d | 70 75 74 20 66 6f 6e 74 |o watch.|put font|
|00001250| 4e 61 6d 65 28 29 20 69 | 6e 74 6f 20 66 6f 6e 74 |Name() i|nto font|
|00001260| 4c 69 73 74 0d 69 66 20 | 6c 69 6e 65 20 31 36 20 |List.if |line 16 |
|00001270| 6f 66 20 74 6b 50 72 65 | 66 73 20 3d 20 65 6d 70 |of tkPre|fs = emp|
|00001280| 74 79 20 74 68 65 6e 20 | 70 75 74 20 22 48 65 6c |ty then |put "Hel|
|00001290| 76 65 74 69 63 61 22 20 | 69 6e 74 6f 20 6d 61 72 |vetica" |into mar|
|000012a0| 6b 46 6f 6e 74 0d 65 6c | 73 65 20 70 75 74 20 6c |kFont.el|se put l|
|000012b0| 69 6e 65 20 31 36 20 6f | 66 20 74 6b 50 72 65 66 |ine 16 o|f tkPref|
|000012c0| 73 20 69 6e 74 6f 20 6d | 61 72 6b 46 6f 6e 74 0d |s into m|arkFont.|
|000012d0| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|000012e0| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|000012f0| 6f 66 20 69 74 65 6d 73 | 20 69 6e 20 66 6f 6e 74 |of items| in font|
|00001300| 4c 69 73 74 0d 69 66 20 | 69 74 65 6d 20 78 20 6f |List.if |item x o|
|00001310| 66 20 66 6f 6e 74 4c 69 | 73 74 20 3d 20 6d 61 72 |f fontLi|st = mar|
|00001320| 6b 46 6f 6e 74 20 74 68 | 65 6e 20 70 75 74 20 6e |kFont th|en put n|
|00001330| 75 6d 54 6f 43 68 61 72 | 20 28 31 38 29 20 26 20 |umToChar| (18) & |
|00001340| 69 74 65 6d 20 78 20 6f | 66 20 66 6f 6e 74 4c 69 |item x o|f fontLi|
|00001350| 73 74 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |st & ret|urn afte|
|00001360| 72 20 6e 65 77 46 6f 6e | 74 4c 69 73 74 0d 65 6c |r newFon|tList.el|
|00001370| 73 65 20 70 75 74 20 69 | 74 65 6d 20 78 20 6f 66 |se put i|tem x of|
|00001380| 20 66 6f 6e 74 4c 69 73 | 74 20 26 20 72 65 74 75 | fontLis|t & retu|
|00001390| 72 6e 20 61 66 74 65 72 | 20 6e 65 77 46 6f 6e 74 |rn after| newFont|
|000013a0| 4c 69 73 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |List.end| repeat.|
|000013b0| 73 68 6f 77 44 69 61 6c | 6f 67 20 37 2c 39 39 36 |showDial|og 7,996|
|000013c0| 37 2c 22 43 68 6f 6f 73 | 65 20 61 20 66 6f 6e 74 |7,"Choos|e a font|
|000013d0| 2e 22 2c 53 79 73 74 65 | 6d 2c 31 32 2c 6e 65 77 |.",Syste|m,12,new|
|000013e0| 46 6f 6e 74 4c 69 73 74 | 2c 31 2c 6f 6e 65 0d 70 |FontList|,1,one.p|
|000013f0| 75 74 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 6e |ut the r|esult in|
|00001400| 74 6f 20 66 6f 6e 74 43 | 68 6f 69 63 65 0d 69 66 |to fontC|hoice.if|
|00001410| 20 6c 69 6e 65 20 31 20 | 6f 66 20 66 6f 6e 74 43 | line 1 |of fontC|
|00001420| 68 6f 69 63 65 20 69 73 | 20 32 20 74 68 65 6e 20 |hoice is| 2 then |
|00001430| 65 78 69 74 20 67 65 74 | 46 6f 6e 74 73 0d 69 66 |exit get|Fonts.if|
|00001440| 20 6c 69 6e 65 20 31 20 | 6f 66 20 66 6f 6e 74 43 | line 1 |of fontC|
|00001450| 68 6f 69 63 65 20 69 73 | 20 31 20 74 68 65 6e 20 |hoice is| 1 then |
|00001460| 20 2d 2d 22 53 65 6c 65 | 63 74 22 0d 69 66 20 6c | --"Sele|ct".if l|
|00001470| 69 6e 65 20 32 20 6f 66 | 20 66 6f 6e 74 43 68 6f |ine 2 of| fontCho|
|00001480| 69 63 65 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ice is e|mpty the|
|00001490| 6e 0d 73 65 6c 65 63 74 | 57 61 72 6e 69 6e 67 0d |n.select|Warning.|
|000014a0| 67 65 74 46 6f 6e 74 73 | 0d 65 6c 73 65 0d 67 65 |getFonts|.else.ge|
|000014b0| 74 20 6c 69 6e 65 20 28 | 6c 69 6e 65 20 32 20 6f |t line (|line 2 o|
|000014c0| 66 20 66 6f 6e 74 43 68 | 6f 69 63 65 29 20 6f 66 |f fontCh|oice) of|
|000014d0| 20 6e 65 77 46 6f 6e 74 | 4c 69 73 74 0d 69 66 20 | newFont|List.if |
|000014e0| 74 68 65 20 66 69 72 73 | 74 20 63 68 61 72 20 6f |the firs|t char o|
|000014f0| 66 20 69 74 20 3d 20 6e | 75 6d 54 6f 43 68 61 72 |f it = n|umToChar|
|00001500| 20 28 31 38 29 20 74 68 | 65 6e 20 64 65 6c 65 74 | (18) th|en delet|
|00001510| 65 20 74 68 65 20 66 69 | 72 73 74 20 63 68 61 72 |e the fi|rst char|
|00001520| 20 6f 66 20 69 74 0d 70 | 75 74 20 69 74 20 69 6e | of it.p|ut it in|
|00001530| 74 6f 20 6c 69 6e 65 20 | 31 36 20 6f 66 20 74 6b |to line |16 of tk|
|00001540| 50 72 65 66 73 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Prefs.en|d if.end|
|00001550| 20 69 66 0d 65 6e 64 20 | 67 65 74 46 6f 6e 74 73 | if.end |getFonts|
|00001560| 0d 0d 6f 6e 20 73 65 74 | 55 70 0d 67 6c 6f 62 61 |..on set|Up.globa|
|00001570| 6c 20 6c 43 68 61 72 2c | 63 61 6e 63 65 6c 2c 74 |l lChar,|cancel,t|
|00001580| 6b 50 72 65 66 73 0d 62 | 65 65 70 20 6f 6e 65 0d |kPrefs.b|eep one.|
|00001590| 73 68 6f 77 44 69 61 6c | 6f 67 20 32 2c 32 39 35 |showDial|og 2,295|
|000015a0| 31 2c 22 50 6c 65 61 73 | 65 20 69 6e 64 69 63 61 |1,"Pleas|e indica|
|000015b0| 74 65 20 77 68 65 72 65 | 20 79 6f 75 20 77 61 6e |te where| you wan|
|000015c0| 74 20 72 65 70 6f 72 74 | 73 20 73 61 76 65 64 2e |t report|s saved.|
|000015d0| 22 2c 22 22 2c 22 22 0d | 70 75 74 20 4e 65 77 46 |","","".|put NewF|
|000015e0| 69 6c 65 4e 61 6d 65 20 | 28 22 53 41 56 45 20 41 |ileName |("SAVE A|
|000015f0| 4c 4c 20 54 49 4d 45 20 | 52 45 50 4f 52 54 53 2e |LL TIME |REPORTS.|
|00001600| 2e 2e 22 2c 22 48 65 72 | 65 22 29 20 69 6e 74 6f |..","Her|e") into|
|00001610| 20 70 61 74 68 0d 69 66 | 20 70 61 74 68 20 69 73 | path.if| path is|
|00001620| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|00001630| 22 74 72 75 65 22 20 69 | 6e 74 6f 20 63 61 6e 63 |"true" i|nto canc|
|00001640| 65 6c 0d 65 78 69 74 20 | 73 65 74 55 70 0d 65 6c |el.exit |setUp.el|
|00001650| 73 65 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |se.delet|e last c|
|00001660| 68 61 72 20 6f 66 20 70 | 61 74 68 0d 72 65 70 65 |har of p|ath.repe|
|00001670| 61 74 20 75 6e 74 69 6c | 20 6c 43 68 61 72 20 3d |at until| lChar =|
|00001680| 20 22 79 65 73 22 0d 69 | 66 20 6c 61 73 74 20 63 | "yes".i|f last c|
|00001690| 68 61 72 20 6f 66 20 70 | 61 74 68 20 3d 20 22 3a |har of p|ath = ":|
|000016a0| 22 20 74 68 65 6e 20 70 | 75 74 20 22 79 65 73 22 |" then p|ut "yes"|
|000016b0| 20 69 6e 74 6f 20 6c 63 | 68 61 72 0d 65 6c 73 65 | into lc|har.else|
|000016c0| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 | delete |last cha|
|000016d0| 72 20 6f 66 20 70 61 74 | 68 0d 65 6e 64 20 72 65 |r of pat|h.end re|
|000016e0| 70 65 61 74 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |peat.put| empty i|
|000016f0| 6e 74 6f 20 6c 43 68 61 | 72 0d 70 75 74 20 70 61 |nto lCha|r.put pa|
|00001700| 74 68 20 69 6e 74 6f 20 | 6c 69 6e 65 20 33 20 6f |th into |line 3 o|
|00001710| 66 20 74 6b 50 72 65 66 | 73 0d 70 72 65 66 53 65 |f tkPref|s.prefSe|
|00001720| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 73 65 74 |t.end if|.end set|
|00001730| 55 70 0d 0d 6f 6e 20 66 | 6d 53 65 74 55 70 0d 67 |Up..on f|mSetUp.g|
|00001740| 6c 6f 62 61 6c 20 63 61 | 6e 63 65 6c 2c 74 6b 50 |lobal ca|ncel,tkP|
|00001750| 72 65 66 73 0d 62 65 65 | 70 0d 61 6e 73 77 65 72 |refs.bee|p.answer|
|00001760| 20 66 69 6c 65 20 22 57 | 68 65 72 65 20 69 73 20 | file "W|here is |
|00001770| 46 69 6c 65 4d 61 6b 65 | 72 3f 22 20 6f 66 20 74 |FileMake|r?" of t|
|00001780| 79 70 65 20 41 50 50 4c | 0d 70 75 74 20 69 74 20 |ype APPL|.put it |
|00001790| 69 6e 74 6f 20 66 6d 50 | 61 74 68 0d 69 66 20 66 |into fmP|ath.if f|
|000017a0| 6d 50 61 74 68 20 69 73 | 20 65 6d 70 74 79 20 74 |mPath is| empty t|
|000017b0| 68 65 6e 0d 70 75 74 20 | 22 74 72 75 65 22 20 69 |hen.put |"true" i|
|000017c0| 6e 74 6f 20 63 61 6e 63 | 65 6c 0d 65 78 69 74 20 |nto canc|el.exit |
|000017d0| 66 6d 53 65 74 55 70 0d | 65 6e 64 20 69 66 0d 70 |fmSetUp.|end if.p|
|000017e0| 75 74 20 66 6d 50 61 74 | 68 20 69 6e 74 6f 20 6c |ut fmPat|h into l|
|000017f0| 69 6e 65 20 31 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 1 of| tkPrefs|
|00001800| 0d 70 72 65 66 53 65 74 | 0d 65 6e 64 20 66 6d 53 |.prefSet|.end fmS|
|00001810| 65 74 55 70 0d 0d 6f 6e | 20 78 6c 53 65 74 55 70 |etUp..on| xlSetUp|
|00001820| 0d 67 6c 6f 62 61 6c 20 | 63 61 6e 63 65 6c 2c 74 |.global |cancel,t|
|00001830| 6b 50 72 65 66 73 0d 62 | 65 65 70 0d 61 6e 73 77 |kPrefs.b|eep.answ|
|00001840| 65 72 20 66 69 6c 65 20 | 22 57 68 65 72 65 20 69 |er file |"Where i|
|00001850| 73 20 79 6f 75 72 20 53 | 70 72 65 61 64 73 68 65 |s your S|preadshe|
|00001860| 65 74 20 6f 72 20 57 6f | 72 64 20 50 72 6f 63 65 |et or Wo|rd Proce|
|00001870| 73 73 6f 72 3f 22 20 6f | 66 20 74 79 70 65 20 41 |ssor?" o|f type A|
|00001880| 50 50 4c 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |PPL.put |it into |
|00001890| 61 70 70 4e 61 6d 65 0d | 69 66 20 61 70 70 4e 61 |appName.|if appNa|
|000018a0| 6d 65 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |me is em|pty then|
|000018b0| 0d 70 75 74 20 22 74 72 | 75 65 22 20 69 6e 74 6f |.put "tr|ue" into|
|000018c0| 20 63 61 6e 63 65 6c 0d | 65 78 69 74 20 78 6c 53 | cancel.|exit xlS|
|000018d0| 65 74 55 70 0d 65 6c 73 | 65 0d 70 75 74 20 61 70 |etUp.els|e.put ap|
|000018e0| 70 4e 61 6d 65 20 69 6e | 74 6f 20 6c 69 6e 65 20 |pName in|to line |
|000018f0| 32 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 70 75 74 |2 of tkP|refs.put|
|00001900| 20 74 68 65 20 6c 65 6e | 67 74 68 20 6f 66 20 28 | the len|gth of (|
|00001910| 61 70 70 6e 61 6d 65 29 | 20 69 6e 74 6f 20 74 69 |appname)| into ti|
|00001920| 6d 65 73 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |mes.repe|at with |
|00001930| 78 3d 31 20 74 6f 20 74 | 69 6d 65 73 0d 69 66 20 |x=1 to t|imes.if |
|00001940| 63 68 61 72 20 78 20 6f | 66 20 61 70 70 4e 61 6d |char x o|f appNam|
|00001950| 65 20 3d 20 22 3a 22 20 | 74 68 65 6e 0d 70 75 74 |e = ":" |then.put|
|00001960| 20 22 2c 22 20 61 66 74 | 65 72 20 63 68 61 72 20 | "," aft|er char |
|00001970| 78 20 6f 66 20 61 70 70 | 4e 61 6d 65 0d 61 64 64 |x of app|Name.add|
|00001980| 20 31 20 74 6f 20 74 69 | 6d 65 73 0d 65 6e 64 20 | 1 to ti|mes.end |
|00001990| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |if.end r|epeat.pu|
|000019a0| 74 20 6c 61 73 74 20 69 | 74 65 6d 20 6f 66 20 61 |t last i|tem of a|
|000019b0| 70 70 4e 61 6d 65 20 69 | 6e 74 6f 20 6c 69 6e 65 |ppName i|nto line|
|000019c0| 20 34 20 6f 66 20 74 6b | 50 72 65 66 73 0d 70 72 | 4 of tk|Prefs.pr|
|000019d0| 65 66 53 65 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |efSet.en|d if.end|
|000019e0| 20 78 6c 53 65 74 55 70 | 0d 0d 6f 6e 20 70 61 79 | xlSetUp|..on pay|
|000019f0| 64 61 79 0d 73 68 6f 77 | 44 69 61 6c 6f 67 20 32 |day.show|Dialog 2|
|00001a00| 2c 32 39 35 31 2c 22 53 | 6f 72 72 79 2c 20 74 68 |,2951,"S|orry, th|
|00001a10| 69 73 20 64 65 6d 6f 20 | 76 65 72 73 69 6f 6e 20 |is demo |version |
|00001a20| 6f 6e 6c 79 20 6c 65 74 | 73 20 79 6f 75 20 74 72 |only let|s you tr|
|00001a30| 61 63 6b 20 73 65 76 65 | 6e 20 6a 6f 62 73 21 22 |ack seve|n jobs!"|
|00001a40| 2c 22 22 2c 22 22 0d 61 | 62 6f 75 74 4d 65 0d 65 |,"","".a|boutMe.e|
|00001a50| 6e 64 20 70 61 79 64 61 | 79 0d 0d 6f 6e 20 73 65 |nd payda|y..on se|
|00001a60| 6c 65 63 74 57 61 72 6e | 69 6e 67 0d 62 65 65 70 |lectWarn|ing.beep|
|00001a70| 20 6f 6e 65 0d 73 68 6f | 77 44 69 61 6c 6f 67 20 | one.sho|wDialog |
|00001a80| 32 2c 32 39 35 31 2c 22 | 59 6f 75 20 6d 75 73 74 |2,2951,"|You must|
|00001a90| 20 73 65 6c 65 63 74 20 | 61 20 6c 69 6e 65 20 66 | select |a line f|
|00001aa0| 69 72 73 74 21 22 2c 22 | 22 2c 22 22 0d 65 6e 64 |irst!","|","".end|
|00001ab0| 20 73 65 6c 65 63 74 57 | 61 72 6e 69 6e 67 0d 0d | selectW|arning..|
|00001ac0| 6f 6e 20 6e 61 6d 65 46 | 4d 52 65 70 6f 72 74 0d |on nameF|MReport.|
|00001ad0| 67 6c 6f 62 61 6c 20 74 | 6f 64 61 79 2c 6c 6e 73 |global t|oday,lns|
|00001ae0| 2c 70 2c 72 65 70 6f 72 | 74 4e 61 6d 65 2c 63 61 |,p,repor|tName,ca|
|00001af0| 6e 63 65 6c 2c 74 6b 50 | 72 65 66 73 0d 69 66 20 |ncel,tkP|refs.if |
|00001b00| 6c 69 6e 65 20 33 20 6f | 66 20 74 6b 50 72 65 66 |line 3 o|f tkPref|
|00001b10| 73 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |s is emp|ty then |
|00001b20| 73 65 74 55 70 0d 69 66 | 20 63 61 6e 63 65 6c 20 |setUp.if| cancel |
|00001b30| 3d 20 22 74 72 75 65 22 | 20 74 68 65 6e 0d 70 75 |= "true"| then.pu|
|00001b40| 74 20 22 66 61 6c 73 65 | 22 20 69 6e 74 6f 20 63 |t "false|" into c|
|00001b50| 61 6e 63 65 6c 0d 65 78 | 69 74 20 6e 61 6d 65 46 |ancel.ex|it nameF|
|00001b60| 4d 52 65 70 6f 72 74 0d | 65 6c 73 65 0d 69 66 20 |MReport.|else.if |
|00001b70| 6c 69 6e 65 20 31 20 6f | 66 20 74 6b 50 72 65 66 |line 1 o|f tkPref|
|00001b80| 73 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |s is emp|ty then |
|00001b90| 66 6d 53 65 74 55 70 0d | 69 66 20 63 61 6e 63 65 |fmSetUp.|if cance|
|00001ba0| 6c 20 3d 20 22 74 72 75 | 65 22 20 74 68 65 6e 0d |l = "tru|e" then.|
|00001bb0| 70 75 74 20 22 66 61 6c | 73 65 22 20 69 6e 74 6f |put "fal|se" into|
|00001bc0| 20 63 61 6e 63 65 6c 0d | 65 78 69 74 20 6e 61 6d | cancel.|exit nam|
|00001bd0| 65 46 4d 52 65 70 6f 72 | 74 0d 65 6c 73 65 0d 69 |eFMRepor|t.else.i|
|00001be0| 66 20 6c 6e 73 20 3e 20 | 33 30 20 74 68 65 6e 20 |f lns > |30 then |
|00001bf0| 66 61 74 52 65 70 6f 72 | 74 0d 69 66 20 63 61 6e |fatRepor|t.if can|
|00001c00| 63 65 6c 20 3d 20 74 72 | 75 65 20 74 68 65 6e 20 |cel = tr|ue then |
|00001c10| 65 78 69 74 20 6e 61 6d | 65 46 4d 52 65 70 6f 72 |exit nam|eFMRepor|
|00001c20| 74 0d 65 6c 73 65 0d 73 | 65 74 20 63 75 72 73 6f |t.else.s|et curso|
|00001c30| 72 20 74 6f 20 62 75 73 | 79 0d 73 68 6f 77 44 69 |r to bus|y.showDi|
|00001c40| 61 6c 6f 67 20 32 2c 35 | 36 33 39 2c 22 50 6c 65 |alog 2,5|639,"Ple|
|00001c50| 61 73 65 20 6e 61 6d 65 | 20 74 68 69 73 20 72 65 |ase name| this re|
|00001c60| 70 6f 72 74 2e 22 2c 22 | 22 2c 72 65 70 6f 72 74 |port.","|",report|
|00001c70| 4e 61 6d 65 0d 69 66 20 | 74 68 65 20 72 65 73 75 |Name.if |the resu|
|00001c80| 6c 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |lt is em|pty then|
|00001c90| 20 65 78 69 74 20 6e 61 | 6d 65 46 4d 52 65 70 6f | exit na|meFMRepo|
|00001ca0| 72 74 0d 65 6c 73 65 0d | 70 75 74 20 74 68 65 20 |rt.else.|put the |
|00001cb0| 72 65 73 75 6c 74 20 69 | 6e 74 6f 20 72 65 70 6f |result i|nto repo|
|00001cc0| 72 74 6e 61 6d 65 0d 64 | 65 6c 65 74 65 20 6c 61 |rtname.d|elete la|
|00001cd0| 73 74 20 63 68 61 72 20 | 6f 66 20 72 65 70 6f 72 |st char |of repor|
|00001ce0| 74 6e 61 6d 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |tname.en|d if.end|
|00001cf0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00001d00| 66 0d 66 6d 52 65 70 6f | 72 74 0d 65 6e 64 20 6e |f.fmRepo|rt.end n|
|00001d10| 61 6d 65 46 4d 52 65 70 | 6f 72 74 0d 0d 6f 6e 20 |ameFMRep|ort..on |
|00001d20| 66 6d 52 65 70 6f 72 74 | 0d 67 6c 6f 62 61 6c 20 |fmReport|.global |
|00001d30| 74 6f 64 61 79 2c 6c 6e | 73 2c 70 2c 72 65 70 6f |today,ln|s,p,repo|
|00001d40| 72 74 4e 61 6d 65 2c 63 | 61 6e 63 65 6c 2c 74 6b |rtName,c|ancel,tk|
|00001d50| 50 72 65 66 73 0d 70 75 | 74 20 6c 69 6e 65 20 33 |Prefs.pu|t line 3|
|00001d60| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 26 20 72 65 | of tkPr|efs & re|
|00001d70| 70 6f 72 74 4e 61 6d 65 | 20 69 6e 74 6f 20 72 65 |portName| into re|
|00001d80| 70 6f 72 74 46 69 6c 65 | 0d 69 66 20 74 68 65 72 |portFile|.if ther|
|00001d90| 65 20 69 73 20 61 20 66 | 69 6c 65 20 72 65 70 6f |e is a f|ile repo|
|00001da0| 72 74 46 69 6c 65 20 74 | 68 65 6e 0d 62 65 65 70 |rtFile t|hen.beep|
|00001db0| 0d 73 68 6f 77 44 69 61 | 6c 6f 67 20 31 2c 34 30 |.showDia|log 1,40|
|00001dc0| 35 30 2c 22 59 6f 75 20 | 61 6c 72 65 61 64 79 20 |50,"You |already |
|00001dd0| 68 61 76 65 20 61 20 72 | 65 70 6f 72 74 20 6e 61 |have a r|eport na|
|00001de0| 6d 65 64 20 d2 22 20 26 | 20 c2 0d 72 65 70 6f 72 |med ." &| ..repor|
|00001df0| 74 6e 61 6d 65 20 26 20 | 22 d3 2e 22 20 26 20 72 |tname & |".." & r|
|00001e00| 65 74 75 72 6e 20 26 20 | 72 65 74 75 72 6e 20 26 |eturn & |return &|
|00001e10| 20 22 52 65 70 6c 61 63 | 65 20 69 74 20 77 69 74 | "Replac|e it wit|
|00001e20| 68 20 61 20 6e 65 77 20 | 6f 6e 65 3f 22 2c 54 52 |h a new |one?",TR|
|00001e30| 55 45 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |UE.if th|e result|
|00001e40| 20 69 73 20 31 20 74 68 | 65 6e 0d 65 78 69 74 20 | is 1 th|en.exit |
|00001e50| 66 6d 52 65 70 6f 72 74 | 0d 65 6e 64 20 69 66 0d |fmReport|.end if.|
|00001e60| 65 6e 64 20 69 66 0d 6f | 70 65 6e 20 66 69 6c 65 |end if.o|pen file|
|00001e70| 20 72 65 70 6f 72 74 46 | 69 6c 65 0d 69 66 20 74 | reportF|ile.if t|
|00001e80| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|00001e90| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 73 65 74 75 | empty t|hen.setu|
|00001ea0| 70 0d 70 75 74 20 6c 69 | 6e 65 20 33 20 6f 66 20 |p.put li|ne 3 of |
|00001eb0| 74 6b 50 72 65 66 73 20 | 26 20 72 65 70 6f 72 74 |tkPrefs |& report|
|00001ec0| 4e 61 6d 65 20 69 6e 74 | 6f 20 72 65 70 6f 72 74 |Name int|o report|
|00001ed0| 46 69 6c 65 0d 6f 70 65 | 6e 20 66 69 6c 65 20 72 |File.ope|n file r|
|00001ee0| 65 70 6f 72 74 46 69 6c | 65 0d 65 6e 64 20 69 66 |eportFil|e.end if|
|00001ef0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00001f00| 75 73 79 0d 69 66 20 6c | 69 6e 65 20 39 20 6f 66 |usy.if l|ine 9 of|
|00001f10| 20 74 6b 50 72 65 66 73 | 20 3d 20 22 74 72 75 65 | tkPrefs| = "true|
|00001f20| 22 20 74 68 65 6e 0d 70 | 75 74 20 6c 69 6e 65 20 |" then.p|ut line |
|00001f30| 31 31 20 6f 66 20 74 6b | 50 72 65 66 73 20 26 20 |11 of tk|Prefs & |
|00001f40| 74 61 62 20 26 20 66 6c | 64 20 69 64 20 31 30 20 |tab & fl|d id 10 |
|00001f50| 26 20 74 61 62 20 69 6e | 74 6f 20 74 65 78 74 0d |& tab in|to text.|
|00001f60| 65 6c 73 65 0d 70 75 74 | 20 74 61 62 20 26 20 74 |else.put| tab & t|
|00001f70| 61 62 20 69 6e 74 6f 20 | 74 65 78 74 0d 65 6e 64 |ab into |text.end|
|00001f80| 20 69 66 0d 70 75 74 20 | 66 6c 64 20 69 64 20 36 | if.put |fld id 6|
|00001f90| 20 26 20 74 61 62 20 26 | 20 66 6c 64 20 69 64 20 | & tab &| fld id |
|00001fa0| 38 20 26 20 74 61 62 20 | 26 20 66 6c 64 20 69 64 |8 & tab |& fld id|
|00001fb0| 20 37 20 26 20 74 61 62 | 20 26 20 74 6f 64 61 79 | 7 & tab| & today|
|00001fc0| 20 c2 0d 26 20 74 61 62 | 20 61 66 74 65 72 20 74 | ..& tab| after t|
|00001fd0| 65 78 74 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ext.set |cursor t|
|00001fe0| 6f 20 62 75 73 79 0d 72 | 65 70 65 61 74 20 77 69 |o busy.r|epeat wi|
|00001ff0| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 6c 6e 73 0d |th x = 1| to lns.|
|00002000| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00002010| 73 79 0d 70 75 74 20 6c | 69 6e 65 20 78 20 6f 66 |sy.put l|ine x of|
|00002020| 20 66 6c 64 20 69 64 20 | 32 20 26 20 70 20 61 66 | fld id |2 & p af|
|00002030| 74 65 72 20 74 65 78 74 | 0d 73 65 74 20 63 75 72 |ter text|.set cur|
|00002040| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 6e 65 78 74 |sor to b|usy.next|
|00002050| 20 72 65 70 65 61 74 0d | 73 65 74 20 63 75 72 73 | repeat.|set curs|
|00002060| 6f 72 20 74 6f 20 62 75 | 73 79 0d 65 6e 64 20 72 |or to bu|sy.end r|
|00002070| 65 70 65 61 74 0d 73 65 | 74 20 63 75 72 73 6f 72 |epeat.se|t cursor|
|00002080| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 74 61 62 | to busy|.put tab|
|00002090| 20 61 66 74 65 72 20 74 | 65 78 74 0d 73 65 74 20 | after t|ext.set |
|000020a0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 72 |cursor t|o busy.r|
|000020b0| 65 70 65 61 74 20 77 69 | 74 68 20 78 20 3d 20 31 |epeat wi|th x = 1|
|000020c0| 20 74 6f 20 6c 6e 73 0d | 73 65 74 20 63 75 72 73 | to lns.|set curs|
|000020d0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 70 75 74 20 6c |or to bu|sy.put l|
|000020e0| 69 6e 65 20 78 20 6f 66 | 20 66 6c 64 20 69 64 20 |ine x of| fld id |
|000020f0| 33 20 26 20 70 20 61 66 | 74 65 72 20 74 65 78 74 |3 & p af|ter text|
|00002100| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00002110| 75 73 79 0d 6e 65 78 74 | 20 72 65 70 65 61 74 0d |usy.next| repeat.|
|00002120| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00002130| 73 79 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 73 65 |sy.end r|epeat.se|
|00002140| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00002150| 0d 70 75 74 20 74 61 62 | 20 61 66 74 65 72 20 74 |.put tab| after t|
|00002160| 65 78 74 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ext.set |cursor t|
|00002170| 6f 20 62 75 73 79 0d 72 | 65 70 65 61 74 20 77 69 |o busy.r|epeat wi|
|00002180| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 6c 6e 73 0d |th x = 1| to lns.|
|00002190| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|000021a0| 73 79 0d 70 75 74 20 6c | 69 6e 65 20 78 20 6f 66 |sy.put l|ine x of|
|000021b0| 20 66 6c 64 20 69 64 20 | 34 20 26 20 70 20 61 66 | fld id |4 & p af|
|000021c0| 74 65 72 20 74 65 78 74 | 0d 73 65 74 20 63 75 72 |ter text|.set cur|
|000021d0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 6e 65 78 74 |sor to b|usy.next|
|000021e0| 20 72 65 70 65 61 74 0d | 73 65 74 20 63 75 72 73 | repeat.|set curs|
|000021f0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 65 6e 64 20 72 |or to bu|sy.end r|
|00002200| 65 70 65 61 74 0d 73 65 | 74 20 63 75 72 73 6f 72 |epeat.se|t cursor|
|00002210| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 74 61 62 | to busy|.put tab|
|00002220| 20 61 66 74 65 72 20 74 | 65 78 74 0d 73 65 74 20 | after t|ext.set |
|00002230| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 72 |cursor t|o busy.r|
|00002240| 65 70 65 61 74 20 77 69 | 74 68 20 78 20 3d 20 31 |epeat wi|th x = 1|
|00002250| 20 74 6f 20 6c 6e 73 0d | 73 65 74 20 63 75 72 73 | to lns.|set curs|
|00002260| 6f 72 20 74 6f 20 62 75 | 73 79 0d 70 75 74 20 6c |or to bu|sy.put l|
|00002270| 69 6e 65 20 78 20 6f 66 | 20 66 6c 64 20 69 64 20 |ine x of| fld id |
|00002280| 35 20 26 20 70 20 61 66 | 74 65 72 20 74 65 78 74 |5 & p af|ter text|
|00002290| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|000022a0| 75 73 79 0d 6e 65 78 74 | 20 72 65 70 65 61 74 0d |usy.next| repeat.|
|000022b0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|000022c0| 73 79 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 73 65 |sy.end r|epeat.se|
|000022d0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|000022e0| 0d 77 72 69 74 65 20 74 | 65 78 74 20 74 6f 20 66 |.write t|ext to f|
|000022f0| 69 6c 65 20 72 65 70 6f | 72 74 46 69 6c 65 0d 73 |ile repo|rtFile.s|
|00002300| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00002310| 79 0d 63 6c 6f 73 65 20 | 66 69 6c 65 20 72 65 70 |y.close |file rep|
|00002320| 6f 72 74 46 69 6c 65 0d | 73 68 6f 77 44 69 61 6c |ortFile.|showDial|
|00002330| 6f 67 20 31 2c 32 36 31 | 39 2c 22 4f 70 65 6e 20 |og 1,261|9,"Open |
|00002340| 46 69 6c 65 4d 61 6b 65 | 72 20 52 65 70 6f 72 74 |FileMake|r Report|
|00002350| 3f 22 2c 54 52 55 45 0d | 69 66 20 74 68 65 20 72 |?",TRUE.|if the r|
|00002360| 65 73 75 6c 74 20 69 73 | 20 34 20 74 68 65 6e 20 |esult is| 4 then |
|00002370| 65 78 69 74 20 66 6d 52 | 65 70 6f 72 74 0d 65 6c |exit fmR|eport.el|
|00002380| 73 65 0d 69 66 20 6c 69 | 6e 65 20 31 35 20 6f 66 |se.if li|ne 15 of|
|00002390| 20 74 6b 50 72 65 66 73 | 20 3d 20 65 6d 70 74 79 | tkPrefs| = empty|
|000023a0| 20 6f 72 20 74 68 65 72 | 65 20 69 73 20 6e 6f 74 | or ther|e is not|
|000023b0| 20 61 20 66 69 6c 65 20 | 6c 69 6e 65 20 31 35 20 | a file |line 15 |
|000023c0| 6f 66 20 74 6b 50 72 65 | 66 73 20 74 68 65 6e 20 |of tkPre|fs then |
|000023d0| 66 69 6e 64 54 69 6d 65 | 52 65 70 6f 72 74 0d 69 |findTime|Report.i|
|000023e0| 66 20 63 61 6e 63 65 6c | 20 3d 20 74 72 75 65 20 |f cancel| = true |
|000023f0| 74 68 65 6e 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |then.put| false i|
|00002400| 6e 74 6f 20 63 61 6e 63 | 65 6c 0d 65 78 69 74 20 |nto canc|el.exit |
|00002410| 66 6d 52 65 70 6f 72 74 | 0d 65 6e 64 20 69 66 0d |fmReport|.end if.|
|00002420| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 6b 50 |if line |1 of tkP|
|00002430| 72 65 66 73 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |refs is |not empt|
|00002440| 79 20 74 68 65 6e 20 6f | 70 65 6e 20 6c 69 6e 65 |y then o|pen line|
|00002450| 20 31 35 20 6f 66 20 74 | 6b 50 72 65 66 73 20 77 | 15 of t|kPrefs w|
|00002460| 69 74 68 20 c2 0d 6c 69 | 6e 65 20 31 20 6f 66 20 |ith ..li|ne 1 of |
|00002470| 74 6b 50 72 65 66 73 0d | 65 6e 64 20 69 66 0d 65 |tkPrefs.|end if.e|
|00002480| 6e 64 20 66 6d 52 65 70 | 6f 72 74 0d 0d 6f 6e 20 |nd fmRep|ort..on |
|00002490| 66 69 6e 64 54 69 6d 65 | 52 65 70 6f 72 74 0d 67 |findTime|Report.g|
|000024a0| 6c 6f 62 61 6c 20 63 61 | 6e 63 65 6c 2c 74 6b 50 |lobal ca|ncel,tkP|
|000024b0| 72 65 66 73 0d 61 6e 73 | 77 65 72 20 66 69 6c 65 |refs.ans|wer file|
|000024c0| 20 22 57 68 65 72 65 20 | 69 73 20 74 68 65 20 d2 | "Where |is the .|
|000024d0| 54 69 6d 65 20 52 65 70 | 6f 72 74 d3 20 66 69 6c |Time Rep|ort. fil|
|000024e0| 65 3f 22 20 6f 66 20 74 | 79 70 65 20 22 46 4d 4b |e?" of t|ype "FMK|
|000024f0| 24 22 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |$".if it| is empt|
|00002500| 79 20 74 68 65 6e 20 70 | 75 74 20 74 72 75 65 20 |y then p|ut true |
|00002510| 69 6e 74 6f 20 63 61 6e | 63 65 6c 0d 65 6c 73 65 |into can|cel.else|
|00002520| 20 70 75 74 20 69 74 20 | 69 6e 74 6f 20 6c 69 6e | put it |into lin|
|00002530| 65 20 31 35 20 6f 66 20 | 74 6b 50 72 65 66 73 0d |e 15 of |tkPrefs.|
|00002540| 70 72 65 66 53 65 74 0d | 65 6e 64 20 66 69 6e 64 |prefSet.|end find|
|00002550| 54 69 6d 65 52 65 70 6f | 72 74 0d 0d 6f 6e 20 6e |TimeRepo|rt..on n|
|00002560| 61 6d 65 58 4c 52 65 70 | 6f 72 74 0d 67 6c 6f 62 |ameXLRep|ort.glob|
|00002570| 61 6c 20 74 6f 64 61 79 | 2c 72 65 70 6f 72 74 4e |al today|,reportN|
|00002580| 61 6d 65 2c 63 61 6e 63 | 65 6c 2c 6c 6e 73 2c 74 |ame,canc|el,lns,t|
|00002590| 6b 50 72 65 66 73 0d 69 | 66 20 6c 69 6e 65 20 33 |kPrefs.i|f line 3|
|000025a0| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 69 73 20 65 | of tkPr|efs is e|
|000025b0| 6d 70 74 79 20 74 68 65 | 6e 20 73 65 74 55 70 0d |mpty the|n setUp.|
|000025c0| 69 66 20 63 61 6e 63 65 | 6c 20 3d 20 22 74 72 75 |if cance|l = "tru|
|000025d0| 65 22 20 74 68 65 6e 0d | 70 75 74 20 22 66 61 6c |e" then.|put "fal|
|000025e0| 73 65 22 20 69 6e 74 6f | 20 63 61 6e 63 65 6c 0d |se" into| cancel.|
|000025f0| 65 78 69 74 20 6e 61 6d | 65 58 4c 52 65 70 6f 72 |exit nam|eXLRepor|
|00002600| 74 0d 65 6c 73 65 0d 69 | 66 20 6c 69 6e 65 20 32 |t.else.i|f line 2|
|00002610| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 69 73 20 65 | of tkPr|efs is e|
|00002620| 6d 70 74 79 20 74 68 65 | 6e 20 78 6c 53 65 74 55 |mpty the|n xlSetU|
|00002630| 70 0d 69 66 20 63 61 6e | 63 65 6c 20 3d 20 22 74 |p.if can|cel = "t|
|00002640| 72 75 65 22 20 74 68 65 | 6e 0d 70 75 74 20 22 66 |rue" the|n.put "f|
|00002650| 61 6c 73 65 22 20 69 6e | 74 6f 20 63 61 6e 63 65 |alse" in|to cance|
|00002660| 6c 0d 65 78 69 74 20 6e | 61 6d 65 58 4c 52 65 70 |l.exit n|ameXLRep|
|00002670| 6f 72 74 0d 65 6c 73 65 | 0d 73 65 74 20 63 75 72 |ort.else|.set cur|
|00002680| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 73 68 6f 77 |sor to b|usy.show|
|00002690| 44 69 61 6c 6f 67 20 32 | 2c 35 36 33 39 2c 22 50 |Dialog 2|,5639,"P|
|000026a0| 6c 65 61 73 65 20 6e 61 | 6d 65 20 74 68 69 73 20 |lease na|me this |
|000026b0| 72 65 70 6f 72 74 2e 22 | 2c 22 22 2c 72 65 70 6f |report."|,"",repo|
|000026c0| 72 74 4e 61 6d 65 0d 69 | 66 20 74 68 65 20 72 65 |rtName.i|f the re|
|000026d0| 73 75 6c 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |sult is |empty th|
|000026e0| 65 6e 20 65 78 69 74 20 | 6e 61 6d 65 58 4c 52 65 |en exit |nameXLRe|
|000026f0| 70 6f 72 74 0d 70 75 74 | 20 74 68 65 20 72 65 73 |port.put| the res|
|00002700| 75 6c 74 20 69 6e 74 6f | 20 72 65 70 6f 72 74 4e |ult into| reportN|
|00002710| 61 6d 65 0d 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |ame.dele|te last |
|00002720| 63 68 61 72 20 6f 66 20 | 72 65 70 6f 72 74 4e 61 |char of |reportNa|
|00002730| 6d 65 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |me.end i|f.end if|
|00002740| 0d 78 6c 52 65 70 6f 72 | 74 0d 65 6e 64 20 6e 61 |.xlRepor|t.end na|
|00002750| 6d 65 58 4c 52 65 70 6f | 72 74 0d 0d 6f 6e 20 78 |meXLRepo|rt..on x|
|00002760| 6c 52 65 70 6f 72 74 0d | 67 6c 6f 62 61 6c 20 74 |lReport.|global t|
|00002770| 6f 64 61 79 2c 72 65 70 | 6f 72 74 4e 61 6d 65 2c |oday,rep|ortName,|
|00002780| 63 61 6e 63 65 6c 2c 6c | 6e 73 2c 74 6b 50 72 65 |cancel,l|ns,tkPre|
|00002790| 66 73 0d 70 75 74 20 6c | 69 6e 65 20 33 20 6f 66 |fs.put l|ine 3 of|
|000027a0| 20 74 6b 50 72 65 66 73 | 20 26 20 72 65 70 6f 72 | tkPrefs| & repor|
|000027b0| 74 4e 61 6d 65 20 69 6e | 74 6f 20 72 65 70 6f 72 |tName in|to repor|
|000027c0| 74 46 69 6c 65 0d 69 66 | 20 74 68 65 72 65 20 69 |tFile.if| there i|
|000027d0| 73 20 61 20 66 69 6c 65 | 20 72 65 70 6f 72 74 46 |s a file| reportF|
|000027e0| 69 6c 65 20 74 68 65 6e | 0d 62 65 65 70 0d 73 68 |ile then|.beep.sh|
|000027f0| 6f 77 44 69 61 6c 6f 67 | 20 31 2c 34 30 35 30 2c |owDialog| 1,4050,|
|00002800| 22 59 6f 75 20 61 6c 72 | 65 61 64 79 20 68 61 76 |"You alr|eady hav|
|00002810| 65 20 61 20 72 65 70 6f | 72 74 20 6e 61 6d 65 64 |e a repo|rt named|
|00002820| 20 d2 22 20 26 20 71 75 | 6f 74 65 20 26 20 c2 0d | ." & qu|ote & ..|
|00002830| 72 65 70 6f 72 74 6e 61 | 6d 65 20 26 20 71 75 6f |reportna|me & quo|
|00002840| 74 65 20 26 20 22 d3 2e | 22 20 26 20 72 65 74 75 |te & "..|" & retu|
|00002850| 72 6e 20 26 20 72 65 74 | 75 72 6e 20 26 20 22 52 |rn & ret|urn & "R|
|00002860| 65 70 6c 61 63 65 20 69 | 74 20 77 69 74 68 20 61 |eplace i|t with a|
|00002870| 20 6e 65 77 20 6f 6e 65 | 3f 22 2c 54 52 55 45 0d | new one|?",TRUE.|
|00002880| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00002890| 20 31 20 74 68 65 6e 0d | 65 78 69 74 20 78 6c 52 | 1 then.|exit xlR|
|000028a0| 65 70 6f 72 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |eport.en|d if.end|
|000028b0| 20 69 66 0d 6f 70 65 6e | 20 66 69 6c 65 20 72 65 | if.open| file re|
|000028c0| 70 6f 72 74 46 69 6c 65 | 0d 69 66 20 74 68 65 20 |portFile|.if the |
|000028d0| 72 65 73 75 6c 74 20 69 | 73 20 6e 6f 74 20 65 6d |result i|s not em|
|000028e0| 70 74 79 20 74 68 65 6e | 0d 73 65 74 75 70 0d 70 |pty then|.setup.p|
|000028f0| 75 74 20 6c 69 6e 65 20 | 33 20 6f 66 20 74 6b 50 |ut line |3 of tkP|
|00002900| 72 65 66 73 20 26 20 72 | 65 70 6f 72 74 4e 61 6d |refs & r|eportNam|
|00002910| 65 20 69 6e 74 6f 20 72 | 65 70 6f 72 74 46 69 6c |e into r|eportFil|
|00002920| 65 0d 6f 70 65 6e 20 66 | 69 6c 65 20 72 65 70 6f |e.open f|ile repo|
|00002930| 72 74 46 69 6c 65 0d 65 | 6e 64 20 69 66 0d 73 65 |rtFile.e|nd if.se|
|00002940| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00002950| 0d 70 75 74 20 74 61 62 | 20 26 20 74 61 62 20 26 |.put tab| & tab &|
|00002960| 20 22 54 49 4d 45 20 52 | 45 50 4f 52 54 22 20 26 | "TIME R|EPORT" &|
|00002970| 20 72 65 74 75 72 6e 20 | 26 20 72 65 74 75 72 6e | return |& return|
|00002980| 20 26 20 74 61 62 20 26 | 20 74 61 62 20 26 20 74 | & tab &| tab & t|
|00002990| 6f 64 61 79 20 26 20 72 | 65 74 75 72 6e 20 26 20 |oday & r|eturn & |
|000029a0| 66 6c 64 20 69 64 20 36 | 20 c2 0d 26 20 74 61 62 |fld id 6| ..& tab|
|000029b0| 20 26 20 74 61 62 20 26 | 20 66 6c 64 20 69 64 20 | & tab &| fld id |
|000029c0| 38 20 26 20 72 65 74 75 | 72 6e 20 26 20 72 65 74 |8 & retu|rn & ret|
|000029d0| 75 72 6e 20 26 20 74 61 | 62 20 26 20 22 4a 6f 62 |urn & ta|b & "Job|
|000029e0| 20 23 3a 22 20 26 20 66 | 6c 64 20 69 64 20 39 20 | #:" & f|ld id 9 |
|000029f0| 26 20 74 61 62 c2 0d 26 | 20 74 61 62 20 69 6e 74 |& tab..&| tab int|
|00002a00| 6f 20 74 65 78 74 0d 69 | 66 20 6c 69 6e 65 20 39 |o text.i|f line 9|
|00002a10| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 3d 20 22 74 | of tkPr|efs = "t|
|00002a20| 72 75 65 22 20 74 68 65 | 6e 0d 70 75 74 20 6c 69 |rue" the|n.put li|
|00002a30| 6e 65 20 31 31 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 11 of| tkPrefs|
|00002a40| 20 26 20 74 61 62 20 26 | 20 66 6c 64 20 69 64 20 | & tab &| fld id |
|00002a50| 31 30 20 61 66 74 65 72 | 20 74 65 78 74 0d 65 6e |10 after| text.en|
|00002a60| 64 20 69 66 0d 70 75 74 | 20 72 65 74 75 72 6e 20 |d if.put| return |
|00002a70| 26 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |& return| & retur|
|00002a80| 6e 20 61 66 74 65 72 20 | 74 65 78 74 0d 73 65 74 |n after |text.set|
|00002a90| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00002aa0| 70 75 74 20 22 44 41 54 | 45 22 20 26 20 74 61 62 |put "DAT|E" & tab|
|00002ab0| 20 26 20 22 41 43 54 49 | 56 49 54 59 22 20 26 20 | & "ACTI|VITY" & |
|00002ac0| 74 61 62 20 26 20 22 4e | 4f 54 45 53 22 20 26 20 |tab & "N|OTES" & |
|00002ad0| 74 61 62 20 26 20 74 61 | 62 20 26 20 22 48 4f 55 |tab & ta|b & "HOU|
|00002ae0| 52 53 22 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |RS" & re|turn aft|
|00002af0| 65 72 20 74 65 78 74 0d | 73 65 74 20 63 75 72 73 |er text.|set curs|
|00002b00| 6f 72 20 74 6f 20 62 75 | 73 79 0d 72 65 70 65 61 |or to bu|sy.repea|
|00002b10| 74 20 77 69 74 68 20 78 | 20 3d 20 31 20 74 6f 20 |t with x| = 1 to |
|00002b20| 6c 6e 73 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |lns.set |cursor t|
|00002b30| 6f 20 62 75 73 79 0d 70 | 75 74 20 6c 69 6e 65 20 |o busy.p|ut line |
|00002b40| 78 20 6f 66 20 66 6c 64 | 20 69 64 20 32 20 26 20 |x of fld| id 2 & |
|00002b50| 74 61 62 20 26 20 6c 69 | 6e 65 20 78 20 6f 66 20 |tab & li|ne x of |
|00002b60| 66 6c 64 20 69 64 20 33 | 20 26 20 74 61 62 20 26 |fld id 3| & tab &|
|00002b70| c2 0d 6c 69 6e 65 20 78 | 20 6f 66 20 66 6c 64 20 |..line x| of fld |
|00002b80| 69 64 20 34 20 26 20 74 | 61 62 20 26 20 74 61 62 |id 4 & t|ab & tab|
|00002b90| 20 26 20 6c 69 6e 65 20 | 78 20 6f 66 20 66 6c 64 | & line |x of fld|
|00002ba0| 20 69 64 20 35 20 26 20 | c2 0d 72 65 74 75 72 6e | id 5 & |..return|
|00002bb0| 20 61 66 74 65 72 20 74 | 65 78 74 0d 73 65 74 20 | after t|ext.set |
|00002bc0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 6e |cursor t|o busy.n|
|00002bd0| 65 78 74 20 72 65 70 65 | 61 74 0d 73 65 74 20 63 |ext repe|at.set c|
|00002be0| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 65 6e |ursor to| busy.en|
|00002bf0| 64 20 72 65 70 65 61 74 | 0d 73 65 74 20 63 75 72 |d repeat|.set cur|
|00002c00| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 77 72 69 74 |sor to b|usy.writ|
|00002c10| 65 20 74 65 78 74 20 74 | 6f 20 66 69 6c 65 20 72 |e text t|o file r|
|00002c20| 65 70 6f 72 74 46 69 6c | 65 0d 73 65 74 20 63 75 |eportFil|e.set cu|
|00002c30| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 63 6c 6f |rsor to |busy.clo|
|00002c40| 73 65 20 66 69 6c 65 20 | 72 65 70 6f 72 74 46 69 |se file |reportFi|
|00002c50| 6c 65 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |le.set c|ursor to|
|00002c60| 20 62 75 73 79 0d 73 68 | 6f 77 44 69 61 6c 6f 67 | busy.sh|owDialog|
|00002c70| 20 31 2c 32 36 31 39 2c | 22 4f 70 65 6e 20 72 65 | 1,2619,|"Open re|
|00002c80| 70 6f 72 74 20 77 69 74 | 68 20 22 20 26 20 6c 69 |port wit|h " & li|
|00002c90| 6e 65 20 34 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |ne 4 of |tkPrefs |
|00002ca0| 26 20 22 20 6e 6f 77 3f | 22 2c 54 52 55 45 0d 69 |& " now?|",TRUE.i|
|00002cb0| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00002cc0| 34 20 74 68 65 6e 20 65 | 78 69 74 20 78 6c 52 65 |4 then e|xit xlRe|
|00002cd0| 70 6f 72 74 0d 65 6c 73 | 65 0d 6f 70 65 6e 20 72 |port.els|e.open r|
|00002ce0| 65 70 6f 72 74 46 69 6c | 65 20 77 69 74 68 20 6c |eportFil|e with l|
|00002cf0| 69 6e 65 20 32 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 2 of| tkPrefs|
|00002d00| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 78 6c 52 65 |.end if.|end xlRe|
|00002d10| 70 6f 72 74 0d 0d 6f 6e | 20 63 68 65 63 6b 72 65 |port..on| checkre|
|00002d20| 73 65 74 0d 67 6c 6f 62 | 61 6c 20 63 68 65 63 6b |set.glob|al check|
|00002d30| 73 2c 74 6b 50 72 65 66 | 73 0d 73 68 6f 77 44 69 |s,tkPref|s.showDi|
|00002d40| 61 6c 6f 67 20 32 2c 35 | 38 31 37 2c 22 53 65 6c |alog 2,5|817,"Sel|
|00002d50| 65 63 74 20 69 74 65 6d | 28 73 29 20 74 6f 20 72 |ect item|(s) to r|
|00002d60| 65 73 65 74 2e 22 2c 22 | 22 2c 22 22 2c 22 46 41 |eset.","|","","FA|
|00002d70| 4c 53 45 2c 46 41 4c 53 | 45 2c 46 41 4c 53 45 22 |LSE,FALS|E,FALSE"|
|00002d80| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00002d90| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|00002da0| 74 20 63 68 65 63 6b 72 | 65 73 65 74 0d 70 75 74 |t checkr|eset.put|
|00002db0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 74 6f | the res|ult into|
|00002dc0| 20 63 68 65 63 6b 73 0d | 69 66 20 69 74 65 6d 20 | checks.|if item |
|00002dd0| 31 20 6f 66 20 66 69 72 | 73 74 20 6c 69 6e 65 20 |1 of fir|st line |
|00002de0| 6f 66 20 63 68 65 63 6b | 73 20 3d 20 74 72 75 65 |of check|s = true|
|00002df0| 20 74 68 65 6e 0d 70 75 | 74 20 65 6d 70 74 79 20 | then.pu|t empty |
|00002e00| 69 6e 74 6f 20 6c 69 6e | 65 20 31 20 6f 66 20 74 |into lin|e 1 of t|
|00002e10| 6b 50 72 65 66 73 0d 66 | 6d 53 65 74 55 70 0d 65 |kPrefs.f|mSetUp.e|
|00002e20| 6e 64 20 69 66 0d 69 66 | 20 69 74 65 6d 20 32 20 |nd if.if| item 2 |
|00002e30| 6f 66 20 66 69 72 73 74 | 20 6c 69 6e 65 20 6f 66 |of first| line of|
|00002e40| 20 63 68 65 63 6b 73 20 | 3d 20 74 72 75 65 20 74 | checks |= true t|
|00002e50| 68 65 6e 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |hen.put |empty in|
|00002e60| 74 6f 20 6c 69 6e 65 20 | 32 20 6f 66 20 74 6b 50 |to line |2 of tkP|
|00002e70| 72 65 66 73 0d 78 6c 73 | 65 74 55 70 0d 65 6e 64 |refs.xls|etUp.end|
|00002e80| 20 69 66 0d 69 66 20 69 | 74 65 6d 20 33 20 6f 66 | if.if i|tem 3 of|
|00002e90| 20 66 69 72 73 74 20 6c | 69 6e 65 20 6f 66 20 63 | first l|ine of c|
|00002ea0| 68 65 63 6b 73 20 3d 20 | 74 72 75 65 20 74 68 65 |hecks = |true the|
|00002eb0| 6e 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n.put em|pty into|
|00002ec0| 20 6c 69 6e 65 20 33 20 | 6f 66 20 74 6b 50 72 65 | line 3 |of tkPre|
|00002ed0| 66 73 0d 73 65 74 55 70 | 0d 65 6e 64 20 69 66 0d |fs.setUp|.end if.|
|00002ee0| 70 72 65 66 53 65 74 0d | 65 6e 64 20 63 68 65 63 |prefSet.|end chec|
|00002ef0| 6b 72 65 73 65 74 0d 0d | 6f 6e 20 73 73 52 70 74 |kreset..|on ssRpt|
|00002f00| 0d 67 6c 6f 62 61 6c 20 | 74 6f 64 61 79 2c 70 2c |.global |today,p,|
|00002f10| 74 65 78 74 2c 72 65 70 | 6f 72 74 4e 61 6d 65 2c |text,rep|ortName,|
|00002f20| 6c 6e 73 0d 70 75 74 20 | 66 6c 64 20 69 64 20 36 |lns.put |fld id 6|
|00002f30| 20 26 20 22 2f 22 20 26 | 20 66 6c 64 20 69 64 20 | & "/" &| fld id |
|00002f40| 37 20 26 20 22 20 45 78 | 70 6f 72 74 22 20 69 6e |7 & " Ex|port" in|
|00002f50| 74 6f 20 72 65 70 6f 72 | 74 4e 61 6d 65 0d 70 75 |to repor|tName.pu|
|00002f60| 74 20 74 68 65 20 64 61 | 74 65 20 69 6e 74 6f 20 |t the da|te into |
|00002f70| 74 6f 64 61 79 0d 70 75 | 74 20 6e 75 6d 62 65 72 |today.pu|t number|
|00002f80| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 66 6c 64 | of line|s in fld|
|00002f90| 20 69 64 20 35 20 69 6e | 74 6f 20 6c 6e 73 0d 6e | id 5 in|to lns.n|
|00002fa0| 61 6d 65 58 4c 52 65 70 | 6f 72 74 0d 65 6e 64 20 |ameXLRep|ort.end |
|00002fb0| 73 73 52 70 74 0d 0d 6f | 6e 20 66 6c 6d 52 70 74 |ssRpt..o|n flmRpt|
|00002fc0| 0d 67 6c 6f 62 61 6c 20 | 74 6f 64 61 79 2c 70 2c |.global |today,p,|
|00002fd0| 6c 6e 73 2c 74 65 78 74 | 2c 72 65 70 6f 72 74 4e |lns,text|,reportN|
|00002fe0| 61 6d 65 0d 70 75 74 20 | 66 6c 64 20 69 64 20 36 |ame.put |fld id 6|
|00002ff0| 20 26 20 22 2f 22 20 26 | 20 66 6c 64 20 69 64 20 | & "/" &| fld id |
|00003000| 37 20 26 20 22 20 45 78 | 70 6f 72 74 22 20 69 6e |7 & " Ex|port" in|
|00003010| 74 6f 20 72 65 70 6f 72 | 74 4e 61 6d 65 0d 70 75 |to repor|tName.pu|
|00003020| 74 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |t number| of line|
|00003030| 73 20 69 6e 20 66 6c 64 | 20 69 64 20 35 20 69 6e |s in fld| id 5 in|
|00003040| 74 6f 20 6c 6e 73 0d 70 | 75 74 20 74 68 65 20 64 |to lns.p|ut the d|
|00003050| 61 74 65 20 69 6e 74 6f | 20 74 6f 64 61 79 0d 70 |ate into| today.p|
|00003060| 75 74 20 74 68 65 20 6e | 75 6d 54 6f 43 68 61 72 |ut the n|umToChar|
|00003070| 20 6f 66 20 32 39 20 69 | 6e 74 6f 20 70 0d 6e 61 | of 29 i|nto p.na|
|00003080| 6d 65 46 4d 52 65 70 6f | 72 74 0d 65 6e 64 20 66 |meFMRepo|rt.end f|
|00003090| 6c 6d 52 70 74 0d 0d 6f | 6e 20 66 61 74 52 65 70 |lmRpt..o|n fatRep|
|000030a0| 6f 72 74 0d 67 6c 6f 62 | 61 6c 20 63 61 6e 63 65 |ort.glob|al cance|
|000030b0| 6c 2c 6c 6e 73 0d 70 75 | 74 20 22 59 6f 75 20 68 |l,lns.pu|t "You h|
|000030c0| 61 76 65 22 20 26 26 20 | 6c 6e 73 20 26 26 20 22 |ave" && |lns && "|
|000030d0| 6c 69 6e 65 73 2e 20 27 | 54 69 6d 65 20 52 65 70 |lines. '|Time Rep|
|000030e0| 6f 72 74 27 20 68 6f 6c | 64 73 20 33 30 2e 20 44 |ort' hol|ds 30. D|
|000030f0| 6f 20 79 6f 75 20 73 74 | 69 6c 6c 20 77 61 6e 74 |o you st|ill want|
|00003100| 20 61 20 72 65 70 6f 72 | 74 3f 22 20 69 6e 74 6f | a repor|t?" into|
|00003110| 20 70 72 6f 6d 70 74 0d | 73 68 6f 77 44 69 61 6c | prompt.|showDial|
|00003120| 6f 67 20 31 2c 34 36 39 | 35 2c 70 72 6f 6d 70 74 |og 1,469|5,prompt|
|00003130| 2c 54 52 55 45 0d 67 65 | 74 20 74 68 65 20 72 65 |,TRUE.ge|t the re|
|00003140| 73 75 6c 74 0d 69 66 20 | 69 74 20 69 73 20 34 20 |sult.if |it is 4 |
|00003150| 74 68 65 6e 0d 70 75 74 | 20 74 72 75 65 20 69 6e |then.put| true in|
|00003160| 74 6f 20 63 61 6e 63 65 | 6c 0d 65 6e 64 20 69 66 |to cance|l.end if|
|00003170| 0d 65 6e 64 20 66 61 74 | 52 65 70 6f 72 74 0d 0d |.end fat|Report..|
|00003180| 6f 6e 20 73 65 74 44 69 | 61 6c 6f 67 0d 70 75 74 |on setDi|alog.put|
|00003190| 20 22 4a 6f 62 20 45 78 | 70 6f 72 74 20 53 65 74 | "Job Ex|port Set|
|000031a0| 74 69 6e 67 73 22 20 26 | 20 72 65 74 75 72 6e 20 |tings" &| return |
|000031b0| 26 20 22 43 75 73 74 6f | 6d 20 4a 6f 62 20 46 69 |& "Custo|m Job Fi|
|000031c0| 65 6c 64 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |eld" & r|eturn & |
|000031d0| 22 4a 6f 62 20 4e 75 6d | 62 65 72 73 22 20 26 20 |"Job Num|bers" & |
|000031e0| 72 65 74 75 72 6e 20 c2 | 0d 26 20 22 48 6f 75 72 |return .|.& "Hour|
|000031f0| 20 44 69 76 69 73 69 6f | 6e 73 22 20 26 20 72 65 | Divisio|ns" & re|
|00003200| 74 75 72 6e 20 26 20 22 | 54 72 61 6e 73 66 65 72 |turn & "|Transfer|
|00003210| 20 57 61 72 6e 69 6e 67 | 73 22 20 26 20 72 65 74 | Warning|s" & ret|
|00003220| 75 72 6e 20 26 20 22 41 | 75 74 6f 20 52 65 70 6f |urn & "A|uto Repo|
|00003230| 72 74 73 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |rts" & r|eturn & |
|00003240| c2 0d 22 53 6b 69 70 20 | 57 65 65 6b 65 6e 64 73 |.."Skip |Weekends|
|00003250| 22 20 69 6e 74 6f 20 70 | 72 6f 6d 70 74 0d 73 68 |" into p|rompt.sh|
|00003260| 6f 77 44 69 61 6c 6f 67 | 20 37 2c 39 39 36 37 2c |owDialog| 7,9967,|
|00003270| 22 50 69 63 6b 20 61 20 | 73 65 74 2d 75 70 20 73 |"Pick a |set-up s|
|00003280| 65 6c 65 63 74 69 6f 6e | 22 2c 53 79 73 74 65 6d |election|",System|
|00003290| 2c 31 32 2c 70 72 6f 6d | 70 74 2c 31 2c 6f 6e 65 |,12,prom|pt,1,one|
|000032a0| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|000032b0| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 69 74 20 |if line |1 of it |
|000032c0| 3d 20 32 20 74 68 65 6e | 0d 65 78 69 74 20 73 65 |= 2 then|.exit se|
|000032d0| 74 44 69 61 6c 6f 67 0d | 65 6c 73 65 0d 69 66 20 |tDialog.|else.if |
|000032e0| 6c 69 6e 65 20 32 20 6f | 66 20 69 74 20 3d 20 31 |line 2 o|f it = 1|
|000032f0| 20 74 68 65 6e 20 63 68 | 65 63 6b 52 65 73 65 74 | then ch|eckReset|
|00003300| 0d 69 66 20 6c 69 6e 65 | 20 32 20 6f 66 20 69 74 |.if line| 2 of it|
|00003310| 20 3d 20 32 20 74 68 65 | 6e 20 6a 6f 62 43 61 72 | = 2 the|n jobCar|
|00003320| 64 53 65 74 75 70 0d 69 | 66 20 6c 69 6e 65 20 32 |dSetup.i|f line 2|
|00003330| 20 6f 66 20 69 74 20 3d | 20 33 20 74 68 65 6e 20 | of it =| 3 then |
|00003340| 73 65 74 4a 6f 62 4e 75 | 6d 0d 69 66 20 6c 69 6e |setJobNu|m.if lin|
|00003350| 65 20 32 20 6f 66 20 69 | 74 20 3d 20 34 20 74 68 |e 2 of i|t = 4 th|
|00003360| 65 6e 20 63 68 61 6e 67 | 65 54 69 6d 65 0d 69 66 |en chang|eTime.if|
|00003370| 20 6c 69 6e 65 20 32 20 | 6f 66 20 69 74 20 3d 20 | line 2 |of it = |
|00003380| 35 20 74 68 65 6e 20 73 | 65 74 57 61 72 6e 69 6e |5 then s|etWarnin|
|00003390| 67 73 0d 69 66 20 6c 69 | 6e 65 20 32 20 6f 66 20 |gs.if li|ne 2 of |
|000033a0| 69 74 20 3d 20 36 20 74 | 68 65 6e 20 73 65 74 41 |it = 6 t|hen setA|
|000033b0| 75 74 6f 0d 69 66 20 6c | 69 6e 65 20 32 20 6f 66 |uto.if l|ine 2 of|
|000033c0| 20 69 74 20 3d 20 37 20 | 74 68 65 6e 20 73 65 74 | it = 7 |then set|
|000033d0| 57 6b 6e 64 73 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Wknds.en|d if.end|
|000033e0| 20 73 65 74 44 69 61 6c | 6f 67 0d 0d 6f 6e 20 73 | setDial|og..on s|
|000033f0| 65 74 4a 6f 62 4e 75 6d | 0d 67 6c 6f 62 61 6c 20 |etJobNum|.global |
|00003400| 74 6b 50 72 65 66 73 0d | 69 66 20 6c 69 6e 65 20 |tkPrefs.|if line |
|00003410| 35 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 22 |5 of tkP|refs = "|
|00003420| 41 75 74 6f 6d 61 74 69 | 63 22 20 6f 72 20 6c 69 |Automati|c" or li|
|00003430| 6e 65 20 35 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |ne 5 of |tkPrefs |
|00003440| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00003450| 74 20 36 20 69 6e 74 6f | 20 72 0d 65 6c 73 65 20 |t 6 into| r.else |
|00003460| 70 75 74 20 37 20 69 6e | 74 6f 20 72 0d 69 66 20 |put 7 in|to r.if |
|00003470| 66 6c 64 20 69 64 20 39 | 20 6f 66 20 66 69 72 73 |fld id 9| of firs|
|00003480| 74 20 63 64 20 3d 20 65 | 6d 70 74 79 20 74 68 65 |t cd = e|mpty the|
|00003490| 6e 20 70 75 74 20 22 31 | 30 30 32 22 20 69 6e 74 |n put "1|002" int|
|000034a0| 6f 20 6e 0d 65 6c 73 65 | 20 70 75 74 20 66 6c 64 |o n.else| put fld|
|000034b0| 20 69 64 20 39 20 69 6e | 74 6f 20 6e 0d 73 68 6f | id 9 in|to n.sho|
|000034c0| 77 44 69 61 6c 6f 67 20 | 33 2c 34 37 34 35 2c 22 |wDialog |3,4745,"|
|000034d0| 22 2c 22 22 2c 6e 2c 72 | 0d 70 75 74 20 74 68 65 |","",n,r|.put the|
|000034e0| 20 72 65 73 75 6c 74 20 | 69 6e 74 6f 20 74 68 65 | result |into the|
|000034f0| 52 65 73 75 6c 74 0d 69 | 66 20 74 68 65 52 65 73 |Result.i|f theRes|
|00003500| 75 6c 74 20 3d 20 65 6d | 70 74 79 20 74 68 65 6e |ult = em|pty then|
|00003510| 20 65 78 69 74 20 73 65 | 74 4a 6f 62 4e 75 6d 0d | exit se|tJobNum.|
|00003520| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 68 65 |if line |1 of the|
|00003530| 52 65 73 75 6c 74 20 3d | 20 37 20 74 68 65 6e 20 |Result =| 7 then |
|00003540| 70 75 74 20 22 4d 61 6e | 75 61 6c 22 20 69 6e 74 |put "Man|ual" int|
|00003550| 6f 20 6c 69 6e 65 20 35 | 20 6f 66 20 74 6b 50 72 |o line 5| of tkPr|
|00003560| 65 66 73 0d 65 6c 73 65 | 0d 70 75 74 20 6c 69 6e |efs.else|.put lin|
|00003570| 65 20 32 20 6f 66 20 74 | 68 65 52 65 73 75 6c 74 |e 2 of t|heResult|
|00003580| 20 69 6e 74 6f 20 63 68 | 65 63 6b 4e 75 6d 0d 72 | into ch|eckNum.r|
|00003590| 65 70 65 61 74 20 77 69 | 74 68 20 78 20 3d 20 31 |epeat wi|th x = 1|
|000035a0| 20 74 6f 20 6c 65 6e 67 | 74 68 28 63 68 65 63 6b | to leng|th(check|
|000035b0| 4e 75 6d 29 0d 69 66 20 | 63 68 61 72 74 6f 4e 75 |Num).if |chartoNu|
|000035c0| 6d 20 6f 66 20 63 68 61 | 72 20 78 20 6f 66 20 63 |m of cha|r x of c|
|000035d0| 68 65 63 6b 4e 75 6d 20 | 3c 20 34 38 20 6f 72 20 |heckNum |< 48 or |
|000035e0| 63 68 61 72 74 6f 4e 75 | 6d 20 6f 66 20 63 68 61 |chartoNu|m of cha|
|000035f0| 72 20 78 20 6f 66 20 63 | 68 65 63 6b 4e 75 6d 20 |r x of c|heckNum |
|00003600| 3e 20 35 37 20 74 68 65 | 6e 0d 6e 75 6d 57 61 72 |> 57 the|n.numWar|
|00003610| 6e 69 6e 67 0d 65 78 69 | 74 20 73 65 74 4a 6f 62 |ning.exi|t setJob|
|00003620| 4e 75 6d 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |Num.end |if.end r|
|00003630| 65 70 65 61 74 0d 70 75 | 74 20 22 41 75 74 6f 6d |epeat.pu|t "Autom|
|00003640| 61 74 69 63 22 20 69 6e | 74 6f 20 6c 69 6e 65 20 |atic" in|to line |
|00003650| 35 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 70 75 74 |5 of tkP|refs.put|
|00003660| 20 6c 69 6e 65 20 32 20 | 6f 66 20 74 68 65 52 65 | line 2 |of theRe|
|00003670| 73 75 6c 74 20 69 6e 74 | 6f 20 66 6c 64 20 69 64 |sult int|o fld id|
|00003680| 20 39 20 6f 66 20 66 69 | 72 73 74 20 63 64 0d 70 | 9 of fi|rst cd.p|
|00003690| 72 65 66 53 65 74 0d 65 | 6e 64 20 69 66 0d 65 6e |refSet.e|nd if.en|
|000036a0| 64 20 73 65 74 4a 6f 62 | 4e 75 6d 0d 0d 6f 6e 20 |d setJob|Num..on |
|000036b0| 6e 75 6d 57 61 72 6e 69 | 6e 67 0d 62 65 65 70 20 |numWarni|ng.beep |
|000036c0| 6f 6e 65 0d 73 68 6f 77 | 44 69 61 6c 6f 67 20 32 |one.show|Dialog 2|
|000036d0| 2c 32 39 35 31 2c 22 45 | 6e 74 65 72 20 61 20 76 |,2951,"E|nter a v|
|000036e0| 61 6c 69 64 20 6e 75 6d | 62 65 72 21 22 2c 22 22 |alid num|ber!",""|
|000036f0| 2c 22 22 0d 65 6e 64 20 | 6e 75 6d 57 61 72 6e 69 |,"".end |numWarni|
|00003700| 6e 67 0d 0d 6f 6e 20 63 | 68 61 6e 67 65 54 69 6d |ng..on c|hangeTim|
|00003710| 65 0d 67 6c 6f 62 61 6c | 20 74 6b 50 72 65 66 73 |e.global| tkPrefs|
|00003720| 0d 73 68 6f 77 44 69 61 | 6c 6f 67 20 33 2c 32 39 |.showDia|log 3,29|
|00003730| 39 35 38 2c 22 22 2c 22 | 22 2c 22 22 2c 33 0d 70 |958,"","|","",3.p|
|00003740| 75 74 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 6e |ut the r|esult in|
|00003750| 74 6f 20 74 68 65 52 65 | 73 75 6c 74 0d 69 66 20 |to theRe|sult.if |
|00003760| 74 68 65 52 65 73 75 6c | 74 20 3d 20 65 6d 70 74 |theResul|t = empt|
|00003770| 79 20 74 68 65 6e 20 65 | 78 69 74 20 63 68 61 6e |y then e|xit chan|
|00003780| 67 65 54 69 6d 65 0d 69 | 66 20 6c 69 6e 65 20 31 |geTime.i|f line 1|
|00003790| 20 6f 66 20 74 68 65 52 | 65 73 75 6c 74 20 3d 20 | of theR|esult = |
|000037a0| 33 20 74 68 65 6e 20 70 | 75 74 20 34 20 69 6e 74 |3 then p|ut 4 int|
|000037b0| 6f 20 6c 69 6e 65 20 36 | 20 6f 66 20 74 6b 50 72 |o line 6| of tkPr|
|000037c0| 65 66 73 0d 65 6c 73 65 | 20 70 75 74 20 31 30 20 |efs.else| put 10 |
|000037d0| 69 6e 74 6f 20 6c 69 6e | 65 20 36 20 6f 66 20 74 |into lin|e 6 of t|
|000037e0| 6b 50 72 65 66 73 0d 70 | 72 65 66 53 65 74 0d 65 |kPrefs.p|refSet.e|
|000037f0| 6e 64 20 63 68 61 6e 67 | 65 54 69 6d 65 0d 0d 6f |nd chang|eTime..o|
|00003800| 6e 20 73 65 74 57 61 72 | 6e 69 6e 67 73 0d 67 6c |n setWar|nings.gl|
|00003810| 6f 62 61 6c 20 74 68 65 | 52 65 73 75 6c 74 2c 6d |obal the|Result,m|
|00003820| 69 6e 2c 74 6b 50 72 65 | 66 73 0d 69 66 20 6c 69 |in,tkPre|fs.if li|
|00003830| 6e 65 20 38 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |ne 8 of |tkPrefs |
|00003840| 3d 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |= empty |then put|
|00003850| 20 38 20 69 6e 74 6f 20 | 6d 69 6e 0d 65 6c 73 65 | 8 into |min.else|
|00003860| 20 70 75 74 20 6c 69 6e | 65 20 38 20 6f 66 20 74 | put lin|e 8 of t|
|00003870| 6b 50 72 65 66 73 20 69 | 6e 74 6f 20 6d 69 6e 0d |kPrefs i|nto min.|
|00003880| 69 66 20 6c 69 6e 65 20 | 37 20 6f 66 20 74 6b 50 |if line |7 of tkP|
|00003890| 72 65 66 73 20 3d 20 22 | 54 72 75 65 22 20 74 68 |refs = "|True" th|
|000038a0| 65 6e 20 70 75 74 20 33 | 20 69 6e 74 6f 20 72 0d |en put 3| into r.|
|000038b0| 65 6c 73 65 20 70 75 74 | 20 34 20 69 6e 74 6f 20 |else put| 4 into |
|000038c0| 72 0d 73 68 6f 77 44 69 | 61 6c 6f 67 20 33 2c 31 |r.showDi|alog 3,1|
|000038d0| 32 39 30 2c 22 57 61 72 | 6e 20 6d 65 20 69 66 20 |290,"War|n me if |
|000038e0| 49 20 68 61 76 65 20 6c | 65 73 73 20 74 68 61 6e |I have l|ess than|
|000038f0| 3a 22 2c 22 68 6f 75 72 | 73 2e 22 2c 6d 69 6e 2c |:","hour|s.",min,|
|00003900| 72 0d 70 75 74 20 74 68 | 65 20 72 65 73 75 6c 74 |r.put th|e result|
|00003910| 20 69 6e 74 6f 20 74 68 | 65 52 65 73 75 6c 74 0d | into th|eResult.|
|00003920| 69 66 20 74 68 65 52 65 | 73 75 6c 74 20 3d 20 65 |if theRe|sult = e|
|00003930| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 73 |mpty the|n exit s|
|00003940| 65 74 57 61 72 6e 69 6e | 67 73 0d 65 6c 73 65 0d |etWarnin|gs.else.|
|00003950| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 68 65 |if line |1 of the|
|00003960| 52 65 73 75 6c 74 20 3d | 20 33 20 74 68 65 6e 0d |Result =| 3 then.|
|00003970| 69 66 20 6c 69 6e 65 20 | 32 20 6f 66 20 74 68 65 |if line |2 of the|
|00003980| 52 65 73 75 6c 74 20 3d | 20 65 6d 70 74 79 20 74 |Result =| empty t|
|00003990| 68 65 6e 0d 70 75 74 20 | 22 46 61 6c 73 65 22 20 |hen.put |"False" |
|000039a0| 69 6e 74 6f 20 6c 69 6e | 65 20 37 20 6f 66 20 74 |into lin|e 7 of t|
|000039b0| 6b 50 72 65 66 73 0d 65 | 6c 73 65 0d 70 75 74 20 |kPrefs.e|lse.put |
|000039c0| 22 54 72 75 65 22 20 69 | 6e 74 6f 20 6c 69 6e 65 |"True" i|nto line|
|000039d0| 20 37 20 6f 66 20 74 6b | 50 72 65 66 73 0d 70 75 | 7 of tk|Prefs.pu|
|000039e0| 74 20 6c 69 6e 65 20 32 | 20 6f 66 20 74 68 65 52 |t line 2| of theR|
|000039f0| 65 73 75 6c 74 20 69 6e | 74 6f 20 6c 69 6e 65 20 |esult in|to line |
|00003a00| 38 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 65 6e 64 |8 of tkP|refs.end|
|00003a10| 20 69 66 0d 65 6c 73 65 | 0d 70 75 74 20 22 46 61 | if.else|.put "Fa|
|00003a20| 6c 73 65 22 20 69 6e 74 | 6f 20 6c 69 6e 65 20 37 |lse" int|o line 7|
|00003a30| 20 6f 66 20 74 6b 50 72 | 65 66 73 0d 65 6e 64 20 | of tkPr|efs.end |
|00003a40| 69 66 0d 65 6e 64 20 69 | 66 0d 70 72 65 66 53 65 |if.end i|f.prefSe|
|00003a50| 74 0d 65 6e 64 20 73 65 | 74 57 61 72 6e 69 6e 67 |t.end se|tWarning|
|00003a60| 73 0d 0d 6f 6e 20 6a 6f | 62 43 61 72 64 53 65 74 |s..on jo|bCardSet|
|00003a70| 75 70 0d 67 6c 6f 62 61 | 6c 20 74 68 65 52 65 73 |up.globa|l theRes|
|00003a80| 75 6c 74 2c 74 6b 50 72 | 65 66 73 0d 70 75 74 20 |ult,tkPr|efs.put |
|00003a90| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|00003aa0| 66 69 72 73 74 20 63 64 | 20 6f 66 20 62 67 20 41 |first cd| of bg A|
|00003ab0| 72 63 68 69 76 65 20 69 | 6e 74 6f 20 61 0d 69 66 |rchive i|nto a.if|
|00003ac0| 20 6c 69 6e 65 20 39 20 | 6f 66 20 74 6b 50 72 65 | line 9 |of tkPre|
|00003ad0| 66 73 20 3d 20 22 54 72 | 75 65 22 20 74 68 65 6e |fs = "Tr|ue" then|
|00003ae0| 20 70 75 74 20 33 20 69 | 6e 74 6f 20 72 0d 65 6c | put 3 i|nto r.el|
|00003af0| 73 65 20 70 75 74 20 34 | 20 69 6e 74 6f 20 72 0d |se put 4| into r.|
|00003b00| 73 68 6f 77 44 69 61 6c | 6f 67 20 33 2c 34 37 34 |showDial|og 3,474|
|00003b10| 33 2c 22 50 72 6f 6d 70 | 74 20 73 74 72 69 6e 67 |3,"Promp|t string|
|00003b20| 3a 22 2c 22 46 69 65 6c | 64 20 6c 61 62 65 6c 3a |:","Fiel|d label:|
|00003b30| 22 2c 2c 72 0d 70 75 74 | 20 74 68 65 20 72 65 73 |",,r.put| the res|
|00003b40| 75 6c 74 20 69 6e 74 6f | 20 74 68 65 52 65 73 75 |ult into| theResu|
|00003b50| 6c 74 0d 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |lt.if li|ne 1 of |
|00003b60| 74 68 65 52 65 73 75 6c | 74 20 3d 20 31 20 74 68 |theResul|t = 1 th|
|00003b70| 65 6e 20 65 78 69 74 20 | 6a 6f 62 43 61 72 64 53 |en exit |jobCardS|
|00003b80| 65 74 75 70 0d 65 6c 73 | 65 0d 69 66 20 6c 69 6e |etup.els|e.if lin|
|00003b90| 65 20 31 20 6f 66 20 74 | 68 65 52 65 73 75 6c 74 |e 1 of t|heResult|
|00003ba0| 20 69 73 20 34 20 74 68 | 65 6e 0d 70 75 74 20 22 | is 4 th|en.put "|
|00003bb0| 66 61 6c 73 65 22 20 69 | 6e 74 6f 20 6c 69 6e 65 |false" i|nto line|
|00003bc0| 20 39 20 6f 66 20 74 6b | 50 72 65 66 73 0d 68 69 | 9 of tk|Prefs.hi|
|00003bd0| 64 65 20 66 6c 64 20 69 | 64 20 31 30 20 6f 66 20 |de fld i|d 10 of |
|00003be0| 6c 61 73 74 20 63 64 0d | 68 69 64 65 20 66 6c 64 |last cd.|hide fld|
|00003bf0| 20 69 64 20 31 30 20 6f | 66 20 63 64 20 69 64 20 | id 10 o|f cd id |
|00003c00| 61 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |a.put em|pty into|
|00003c10| 20 66 6c 64 20 69 64 20 | 34 31 20 6f 66 20 6c 61 | fld id |41 of la|
|00003c20| 73 74 20 63 64 20 2d 2d | 20 66 69 65 6c 64 20 6c |st cd --| field l|
|00003c30| 61 62 65 6c 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |abel.put| empty i|
|00003c40| 6e 74 6f 20 66 6c 64 20 | 69 64 20 34 31 20 6f 66 |nto fld |id 41 of|
|00003c50| 20 63 64 20 69 64 20 61 | 20 2d 2d 20 66 69 65 6c | cd id a| -- fiel|
|00003c60| 64 20 6c 61 62 65 6c 0d | 65 6c 73 65 0d 69 66 20 |d label.|else.if |
|00003c70| 6c 69 6e 65 20 31 20 6f | 66 20 74 68 65 52 65 73 |line 1 o|f theRes|
|00003c80| 75 6c 74 20 3d 20 33 20 | 74 68 65 6e 0d 69 66 20 |ult = 3 |then.if |
|00003c90| 6c 69 6e 65 20 32 20 6f | 66 20 74 68 65 52 65 73 |line 2 o|f theRes|
|00003ca0| 75 6c 74 20 ad 20 65 6d | 70 74 79 20 61 6e 64 20 |ult . em|pty and |
|00003cb0| 6c 69 6e 65 20 33 20 6f | 66 20 74 68 65 52 65 73 |line 3 o|f theRes|
|00003cc0| 75 6c 74 20 ad 20 65 6d | 70 74 79 20 74 68 65 6e |ult . em|pty then|
|00003cd0| 0d 70 75 74 20 22 74 72 | 75 65 22 20 69 6e 74 6f |.put "tr|ue" into|
|00003ce0| 20 6c 69 6e 65 20 39 20 | 6f 66 20 74 6b 50 72 65 | line 9 |of tkPre|
|00003cf0| 66 73 0d 73 68 6f 77 20 | 66 6c 64 20 69 64 20 31 |fs.show |fld id 1|
|00003d00| 30 20 6f 66 20 6c 61 73 | 74 20 63 64 0d 73 68 6f |0 of las|t cd.sho|
|00003d10| 77 20 66 6c 64 20 69 64 | 20 31 30 20 6f 66 20 63 |w fld id| 10 of c|
|00003d20| 64 20 69 64 20 61 0d 69 | 66 20 74 68 65 20 6c 61 |d id a.i|f the la|
|00003d30| 73 74 20 63 68 61 72 20 | 6f 66 20 6c 69 6e 65 20 |st char |of line |
|00003d40| 33 20 6f 66 20 74 68 65 | 52 65 73 75 6c 74 20 ad |3 of the|Result .|
|00003d50| 20 22 3a 22 20 74 68 65 | 6e 20 c2 0d 70 75 74 20 | ":" the|n ..put |
|00003d60| 6c 69 6e 65 20 33 20 6f | 66 20 74 68 65 52 65 73 |line 3 o|f theRes|
|00003d70| 75 6c 74 20 26 20 22 3a | 22 20 69 6e 74 6f 20 6c |ult & ":|" into l|
|00003d80| 69 6e 65 20 33 20 6f 66 | 20 74 68 65 52 65 73 75 |ine 3 of| theResu|
|00003d90| 6c 74 0d 70 75 74 20 6c | 69 6e 65 20 33 20 6f 66 |lt.put l|ine 3 of|
|00003da0| 20 74 68 65 52 65 73 75 | 6c 74 20 69 6e 74 6f 20 | theResu|lt into |
|00003db0| 66 6c 64 20 69 64 20 34 | 31 20 6f 66 20 63 64 20 |fld id 4|1 of cd |
|00003dc0| 69 64 20 61 20 2d 2d 20 | 66 69 65 6c 64 20 6c 61 |id a -- |field la|
|00003dd0| 62 65 6c 0d 70 75 74 20 | 6c 69 6e 65 20 33 20 6f |bel.put |line 3 o|
|00003de0| 66 20 74 68 65 52 65 73 | 75 6c 74 20 69 6e 74 6f |f theRes|ult into|
|00003df0| 20 66 6c 64 20 69 64 20 | 34 31 20 6f 66 20 6c 61 | fld id |41 of la|
|00003e00| 73 74 20 63 64 20 2d 2d | 20 66 69 65 6c 64 20 6c |st cd --| field l|
|00003e10| 61 62 65 6c 0d 70 75 74 | 20 6c 69 6e 65 20 33 20 |abel.put| line 3 |
|00003e20| 6f 66 20 74 68 65 52 65 | 73 75 6c 74 20 69 6e 74 |of theRe|sult int|
|00003e30| 6f 20 6c 69 6e 65 20 31 | 31 20 6f 66 20 74 6b 50 |o line 1|1 of tkP|
|00003e40| 72 65 66 73 0d 70 75 74 | 20 6c 69 6e 65 20 32 20 |refs.put| line 2 |
|00003e50| 6f 66 20 74 68 65 52 65 | 73 75 6c 74 20 69 6e 74 |of theRe|sult int|
|00003e60| 6f 20 6c 69 6e 65 20 31 | 30 20 6f 66 20 74 6b 50 |o line 1|0 of tkP|
|00003e70| 72 65 66 73 20 2d 2d 20 | 64 69 61 6c 6f 67 75 65 |refs -- |dialogue|
|00003e80| 20 70 72 6f 6d 70 74 0d | 65 6e 64 20 69 66 0d 65 | prompt.|end if.e|
|00003e90| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00003ea0| 20 69 66 0d 70 72 65 66 | 53 65 74 0d 65 6e 64 20 | if.pref|Set.end |
|00003eb0| 6a 6f 62 43 61 72 64 53 | 65 74 75 70 0d 0d 6f 6e |jobCardS|etup..on|
|00003ec0| 20 72 65 70 6f 72 74 46 | 6f 72 6d 61 74 0d 67 6c | reportF|ormat.gl|
|00003ed0| 6f 62 61 6c 20 74 6b 50 | 72 65 66 73 0d 73 68 6f |obal tkP|refs.sho|
|00003ee0| 77 44 69 61 6c 6f 67 20 | 33 2c 31 32 38 31 2c 22 |wDialog |3,1281,"|
|00003ef0| 22 2c 22 22 2c 22 22 2c | 6c 69 6e 65 20 31 32 20 |","","",|line 12 |
|00003f00| 6f 66 20 74 6b 50 72 65 | 66 73 0d 70 75 74 20 74 |of tkPre|fs.put t|
|00003f10| 68 65 20 72 65 73 75 6c | 74 20 69 6e 74 6f 20 74 |he resul|t into t|
|00003f20| 68 65 52 65 73 75 6c 74 | 0d 69 66 20 74 68 65 52 |heResult|.if theR|
|00003f30| 65 73 75 6c 74 20 3d 20 | 65 6d 70 74 79 20 74 68 |esult = |empty th|
|00003f40| 65 6e 20 65 78 69 74 20 | 72 65 70 6f 72 74 46 6f |en exit |reportFo|
|00003f50| 72 6d 61 74 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |rmat.if |line 1 o|
|00003f60| 66 20 74 68 65 52 65 73 | 75 6c 74 20 3d 20 33 20 |f theRes|ult = 3 |
|00003f70| 6f 72 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 68 65 |or line |1 of the|
|00003f80| 52 65 73 75 6c 74 20 3d | 20 30 20 74 68 65 6e 20 |Result =| 0 then |
|00003f90| 70 75 74 20 33 20 69 6e | 74 6f 20 6c 69 6e 65 20 |put 3 in|to line |
|00003fa0| 31 32 20 6f 66 20 74 6b | 50 72 65 66 73 0d 65 6c |12 of tk|Prefs.el|
|00003fb0| 73 65 20 70 75 74 20 34 | 20 69 6e 74 6f 20 6c 69 |se put 4| into li|
|00003fc0| 6e 65 20 31 32 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 12 of| tkPrefs|
|00003fd0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 69 66 20 |.lock sc|reen.if |
|00003fe0| 74 68 65 72 65 20 69 73 | 20 61 20 6d 65 6e 75 20 |there is| a menu |
|00003ff0| 22 54 69 6d 65 6b 65 65 | 70 65 72 22 20 74 68 65 |"Timekee|per" the|
|00004000| 6e 20 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n put em|pty into|
|00004010| 20 6d 65 6e 75 20 22 54 | 69 6d 65 6b 65 65 70 65 | menu "T|imekeepe|
|00004020| 72 22 0d 73 65 6e 64 20 | 73 65 74 4d 65 6e 75 20 |r".send |setMenu |
|00004030| 74 6f 20 74 68 69 73 20 | 62 67 0d 75 6e 6c 6f 63 |to this |bg.unloc|
|00004040| 6b 20 73 63 72 65 65 6e | 0d 70 72 65 66 53 65 74 |k screen|.prefSet|
|00004050| 0d 65 6e 64 20 72 65 70 | 6f 72 74 46 6f 72 6d 61 |.end rep|ortForma|
|00004060| 74 0d 0d 6f 6e 20 61 62 | 6f 75 74 4d 65 0d 69 66 |t..on ab|outMe.if|
|00004070| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00004080| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 35 36 20 |of bg bt|n id 56 |
|00004090| ad 20 61 62 6f 75 74 4d | 65 20 74 68 65 6e 0d 68 |. aboutM|e then.h|
|000040a0| 65 6c 70 4d 65 0d 65 6c | 73 65 0d 73 68 6f 77 44 |elpMe.el|se.showD|
|000040b0| 69 61 6c 6f 67 20 31 2c | 34 37 34 39 2c 22 22 2c |ialog 1,|4749,"",|
|000040c0| 54 52 55 45 0d 69 66 20 | 74 68 65 20 72 65 73 75 |TRUE.if |the resu|
|000040d0| 6c 74 20 3d 20 32 20 74 | 68 65 6e 20 65 78 69 74 |lt = 2 t|hen exit|
|000040e0| 20 61 62 6f 75 74 4d 65 | 0d 65 6c 73 65 20 68 65 | aboutMe|.else he|
|000040f0| 6c 70 4d 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |lpMe.end| if.end |
|00004100| 61 62 6f 75 74 4d 65 0d | 0d 6f 6e 20 68 65 6c 70 |aboutMe.|.on help|
|00004110| 4d 65 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 73 |Me.lock |screen.s|
|00004120| 68 6f 77 20 62 67 20 62 | 74 6e 20 69 64 20 36 30 |how bg b|tn id 60|
|00004130| 0d 73 68 6f 77 20 66 6c | 64 20 69 64 20 35 38 20 |.show fl|d id 58 |
|00004140| 6f 66 20 66 69 72 73 74 | 20 63 64 0d 73 68 6f 77 |of first| cd.show|
|00004150| 20 66 6c 64 20 69 64 20 | 35 37 20 6f 66 20 66 69 | fld id |57 of fi|
|00004160| 72 73 74 20 63 64 0d 75 | 6e 6c 6f 63 6b 20 73 63 |rst cd.u|nlock sc|
|00004170| 72 65 65 6e 0d 65 6e 64 | 20 68 65 6c 70 4d 65 0d |reen.end| helpMe.|
|00004180| 0d 6f 6e 20 69 6e 76 61 | 6c 69 44 61 74 65 0d 62 |.on inva|liDate.b|
|00004190| 65 65 70 0d 73 68 6f 77 | 44 69 61 6c 6f 67 20 31 |eep.show|Dialog 1|
|000041a0| 2c 34 36 39 35 2c 22 59 | 6f 75 20 6d 75 73 74 20 |,4695,"Y|ou must |
|000041b0| 75 73 65 20 74 68 65 20 | 70 72 6f 70 65 72 20 64 |use the |proper d|
|000041c0| 61 74 65 20 66 6f 72 6d | 61 74 21 22 2c 54 52 55 |ate form|at!",TRU|
|000041d0| 45 0d 65 6e 64 20 69 6e | 76 61 6c 69 44 61 74 65 |E.end in|valiDate|
|000041e0| 0d 0d 6f 6e 20 73 73 20 | 78 0d 73 68 6f 77 44 69 |..on ss |x.showDi|
|000041f0| 61 6c 6f 67 20 32 2c 32 | 39 35 31 2c 22 53 6f 72 |alog 2,2|951,"Sor|
|00004200| 72 79 2c 20 63 61 6e 27 | 74 20 73 65 61 72 63 68 |ry, can'|t search|
|00004210| 20 73 63 72 69 70 74 73 | 22 2c 22 22 2c 22 22 0d | scripts|","","".|
|00004220| 65 6e 64 20 73 73 0d 0d | 6f 6e 20 73 65 61 72 63 |end ss..|on searc|
|00004230| 68 53 63 72 69 70 74 20 | 78 0d 73 68 6f 77 44 69 |hScript |x.showDi|
|00004240| 61 6c 6f 67 20 32 2c 32 | 39 35 31 2c 22 53 6f 72 |alog 2,2|951,"Sor|
|00004250| 72 79 2c 20 63 61 6e 27 | 74 20 73 65 61 72 63 68 |ry, can'|t search|
|00004260| 20 73 63 72 69 70 74 73 | 22 2c 22 22 2c 22 22 0d | scripts|","","".|
|00004270| 65 6e 64 20 73 65 61 72 | 63 68 53 63 72 69 70 74 |end sear|chScript|
|00004280| 0d 0d 6f 6e 20 73 75 6d | 49 74 0d 70 75 74 20 65 |..on sum|It.put e|
|00004290| 6d 70 74 79 20 69 6e 74 | 6f 20 74 6f 74 61 6c 0d |mpty int|o total.|
|000042a0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 73 65 74 20 |lock scr|een.set |
|000042b0| 6e 75 6d 62 65 72 46 6f | 72 6d 61 74 20 74 6f 20 |numberFo|rmat to |
|000042c0| 22 30 2e 30 30 22 0d 72 | 65 70 65 61 74 20 77 69 |"0.00".r|epeat wi|
|000042d0| 74 68 20 79 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |th y = 1| to the |
|000042e0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|000042f0| 69 6e 20 66 6c 64 20 69 | 64 20 35 0d 61 64 64 20 |in fld i|d 5.add |
|00004300| 6c 69 6e 65 20 79 20 6f | 66 20 66 6c 64 20 69 64 |line y o|f fld id|
|00004310| 20 35 20 74 6f 20 74 6f | 74 61 6c 0d 6e 65 78 74 | 5 to to|tal.next|
|00004320| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00004330| 61 74 0d 70 75 74 20 74 | 6f 74 61 6c 20 69 6e 74 |at.put t|otal int|
|00004340| 6f 20 66 6c 64 20 69 64 | 20 31 31 0d 75 6e 6c 6f |o fld id| 11.unlo|
|00004350| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 73 75 |ck scree|n.end su|
|00004360| 6d 49 74 0d 0d 6f 6e 20 | 67 65 74 54 69 6d 65 73 |mIt..on |getTimes|
|00004370| 68 65 65 74 73 0d 67 6c | 6f 62 61 6c 20 63 61 6e |heets.gl|obal can|
|00004380| 63 65 6c 0d 61 6e 73 77 | 65 72 20 66 69 6c 65 20 |cel.answ|er file |
|00004390| 22 57 68 65 72 65 20 69 | 73 20 79 6f 75 72 20 d2 |"Where i|s your .|
|000043a0| 44 61 69 6c 79 20 54 69 | 6d 65 20 53 68 65 65 74 |Daily Ti|me Sheet|
|000043b0| 73 d3 20 73 74 61 63 6b | 3f 22 20 6f 66 20 74 79 |s. stack|?" of ty|
|000043c0| 70 65 20 53 54 41 4b 0d | 69 66 20 74 68 65 20 6c |pe STAK.|if the l|
|000043d0| 6f 6e 67 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ong name| of this|
|000043e0| 20 73 74 61 63 6b 20 3d | 20 22 73 74 61 63 6b 20 | stack =| "stack |
|000043f0| 22 20 26 20 71 75 6f 74 | 65 20 26 20 69 74 20 26 |" & quot|e & it &|
|00004400| 20 71 75 6f 74 65 20 74 | 68 65 6e 0d 62 65 65 70 | quote t|hen.beep|
|00004410| 0d 61 6e 73 77 65 72 20 | 22 59 6f 75 20 70 69 63 |.answer |"You pic|
|00004420| 6b 65 64 20 74 68 69 73 | 20 73 74 61 63 6b 21 20 |ked this| stack! |
|00004430| 54 72 79 20 61 67 61 69 | 6e 2e 22 0d 67 65 74 54 |Try agai|n.".getT|
|00004440| 69 6d 65 73 68 65 65 74 | 73 0d 65 6c 73 65 0d 69 |imesheet|s.else.i|
|00004450| 66 20 69 74 20 3d 20 65 | 6d 70 74 79 20 74 68 65 |f it = e|mpty the|
|00004460| 6e 0d 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |n.put tr|ue into |
|00004470| 63 61 6e 63 65 6c 0d 65 | 78 69 74 20 67 65 74 54 |cancel.e|xit getT|
|00004480| 69 6d 65 73 68 65 65 74 | 73 0d 65 6c 73 65 20 73 |imesheet|s.else s|
|00004490| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 62 |et the n|ame of b|
|000044a0| 67 20 62 74 6e 20 69 64 | 20 35 33 20 74 6f 20 69 |g btn id| 53 to i|
|000044b0| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 67 65 74 |t.end if|.end get|
|000044c0| 54 69 6d 65 73 68 65 65 | 74 73 0d 0d 6f 6e 20 70 |Timeshee|ts..on p|
|000044d0| 72 69 6e 74 52 65 70 6f | 72 74 0d 67 6c 6f 62 61 |rintRepo|rt.globa|
|000044e0| 6c 20 74 6b 50 72 65 66 | 73 0d 69 66 20 6c 69 6e |l tkPref|s.if lin|
|000044f0| 65 20 39 20 6f 66 20 74 | 6b 50 72 65 66 73 20 3d |e 9 of t|kPrefs =|
|00004500| 20 22 74 72 75 65 22 20 | 74 68 65 6e 20 6f 70 65 | "true" |then ope|
|00004510| 6e 20 72 65 70 6f 72 74 | 20 70 72 69 6e 74 69 6e |n report| printin|
|00004520| 67 20 77 69 74 68 20 74 | 65 6d 70 6c 61 74 65 20 |g with t|emplate |
|00004530| 22 53 70 65 63 69 61 6c | 20 52 65 70 6f 72 74 22 |"Special| Report"|
|00004540| 0d 65 6c 73 65 20 6f 70 | 65 6e 20 72 65 70 6f 72 |.else op|en repor|
|00004550| 74 20 70 72 69 6e 74 69 | 6e 67 20 77 69 74 68 20 |t printi|ng with |
|00004560| 74 65 6d 70 6c 61 74 65 | 20 22 4a 6f 62 20 53 68 |template| "Job Sh|
|00004570| 65 65 74 20 52 65 70 6f | 72 74 22 0d 69 66 20 6c |eet Repo|rt".if l|
|00004580| 69 6e 65 20 31 36 20 6f | 66 20 74 6b 50 72 65 66 |ine 16 o|f tkPref|
|00004590| 73 20 3d 20 65 6d 70 74 | 79 20 74 68 65 6e 20 73 |s = empt|y then s|
|000045a0| 65 74 20 70 72 69 6e 74 | 54 65 78 74 46 6f 6e 74 |et print|TextFont|
|000045b0| 20 74 6f 20 22 48 65 6c | 76 65 74 69 63 61 22 0d | to "Hel|vetica".|
|000045c0| 65 6c 73 65 20 73 65 74 | 20 74 68 65 20 70 72 69 |else set| the pri|
|000045d0| 6e 74 54 65 78 74 46 6f | 6e 74 20 74 6f 20 6c 69 |ntTextFo|nt to li|
|000045e0| 6e 65 20 31 36 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 16 of| tkPrefs|
|000045f0| 0d 6d 61 72 6b 20 74 68 | 69 73 20 63 64 0d 70 75 |.mark th|is cd.pu|
|00004600| 74 20 66 6c 64 20 69 64 | 20 36 20 69 6e 74 6f 20 |t fld id| 6 into |
|00004610| 6a 6f 62 43 6c 69 65 6e | 74 0d 70 75 74 20 66 6c |jobClien|t.put fl|
|00004620| 64 20 69 64 20 38 20 69 | 6e 74 6f 20 6a 6f 62 50 |d id 8 i|nto jobP|
|00004630| 72 6f 6a 65 63 74 0d 70 | 75 74 20 66 6c 64 20 69 |roject.p|ut fld i|
|00004640| 64 20 39 20 69 6e 74 6f | 20 6a 6f 62 4e 75 6d 0d |d 9 into| jobNum.|
|00004650| 70 75 74 20 66 6c 64 20 | 69 64 20 32 20 69 6e 74 |put fld |id 2 int|
|00004660| 6f 20 6a 6f 62 44 61 74 | 65 0d 70 75 74 20 66 6c |o jobDat|e.put fl|
|00004670| 64 20 69 64 20 33 20 69 | 6e 74 6f 20 6a 6f 62 46 |d id 3 i|nto jobF|
|00004680| 75 6e 63 74 69 6f 6e 0d | 70 75 74 20 66 6c 64 20 |unction.|put fld |
|00004690| 69 64 20 34 20 69 6e 74 | 6f 20 6a 6f 62 43 6f 6d |id 4 int|o jobCom|
|000046a0| 6d 65 6e 74 73 0d 70 75 | 74 20 66 6c 64 20 69 64 |ments.pu|t fld id|
|000046b0| 20 35 20 69 6e 74 6f 20 | 6a 6f 62 48 6f 75 72 73 | 5 into |jobHours|
|000046c0| 0d 70 75 74 20 66 6c 64 | 20 69 64 20 31 31 20 69 |.put fld| id 11 i|
|000046d0| 6e 74 6f 20 74 6f 74 61 | 6c 48 6f 75 72 73 0d 70 |nto tota|lHours.p|
|000046e0| 75 74 20 66 6c 64 20 69 | 64 20 31 30 20 69 6e 74 |ut fld i|d 10 int|
|000046f0| 6f 20 73 70 65 63 69 61 | 6c 46 69 65 6c 64 54 65 |o specia|lFieldTe|
|00004700| 78 74 0d 70 75 74 20 66 | 6c 64 20 69 64 20 34 31 |xt.put f|ld id 41|
|00004710| 20 69 6e 74 6f 20 73 70 | 65 63 69 61 6c 46 69 65 | into sp|ecialFie|
|00004720| 6c 64 4c 61 62 65 6c 0d | 70 72 69 6e 74 20 6d 61 |ldLabel.|print ma|
|00004730| 72 6b 65 64 20 63 64 73 | 0d 63 6c 6f 73 65 20 70 |rked cds|.close p|
|00004740| 72 69 6e 74 69 6e 67 0d | 65 6e 64 20 70 72 69 6e |rinting.|end prin|
|00004750| 74 52 65 70 6f 72 74 0d | 0d 66 75 6e 63 74 69 6f |tReport.|.functio|
|00004760| 6e 20 63 6f 6e 76 65 72 | 74 48 72 73 20 68 6f 75 |n conver|tHrs hou|
|00004770| 72 73 0d 67 6c 6f 62 61 | 6c 20 74 6b 50 72 65 66 |rs.globa|l tkPref|
|00004780| 73 2c 78 0d 69 66 20 6c | 69 6e 65 20 36 20 6f 66 |s,x.if l|ine 6 of|
|00004790| 20 74 6b 50 72 65 66 73 | 20 69 73 20 65 6d 70 74 | tkPrefs| is empt|
|000047a0| 79 20 74 68 65 6e 20 70 | 75 74 20 34 20 69 6e 74 |y then p|ut 4 int|
|000047b0| 6f 20 78 0d 65 6c 73 65 | 20 70 75 74 20 6c 69 6e |o x.else| put lin|
|000047c0| 65 20 36 20 6f 66 20 74 | 6b 50 72 65 66 73 20 69 |e 6 of t|kPrefs i|
|000047d0| 6e 74 6f 20 78 0d 70 75 | 74 20 68 6f 75 72 73 20 |nto x.pu|t hours |
|000047e0| 2a 20 78 20 69 6e 74 6f | 20 71 75 61 72 74 65 72 |* x into| quarter|
|000047f0| 54 69 6d 65 0d 70 75 74 | 20 71 75 61 72 74 65 72 |Time.put| quarter|
|00004800| 54 69 6d 65 20 2d 20 74 | 72 75 6e 63 28 71 75 61 |Time - t|runc(qua|
|00004810| 72 74 65 72 54 69 6d 65 | 29 20 69 6e 74 6f 20 66 |rterTime|) into f|
|00004820| 72 61 63 51 75 61 72 74 | 65 72 0d 70 75 74 20 74 |racQuart|er.put t|
|00004830| 72 75 6e 63 28 71 75 61 | 72 74 65 72 54 69 6d 65 |runc(qua|rterTime|
|00004840| 29 20 69 6e 74 6f 20 71 | 75 61 72 74 65 72 43 6f |) into q|uarterCo|
|00004850| 75 6e 74 0d 69 66 20 66 | 72 61 63 51 75 61 72 74 |unt.if f|racQuart|
|00004860| 65 72 20 3e 2e 35 20 20 | 74 68 65 6e 20 61 64 64 |er >.5 |then add|
|00004870| 20 31 20 74 6f 20 71 75 | 61 72 74 65 72 43 6f 75 | 1 to qu|arterCou|
|00004880| 6e 74 0d 69 66 20 66 72 | 61 63 51 75 61 72 74 65 |nt.if fr|acQuarte|
|00004890| 72 20 3e 3d 20 2e 35 20 | 61 6e 64 20 78 20 3d 20 |r >= .5 |and x = |
|000048a0| 31 30 20 74 68 65 6e 20 | 61 64 64 20 31 20 74 6f |10 then |add 1 to|
|000048b0| 20 71 75 61 72 74 65 72 | 43 6f 75 6e 74 0d 73 65 | quarter|Count.se|
|000048c0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 46 6f 72 6d |t the nu|mberForm|
|000048d0| 61 74 20 74 6f 20 22 30 | 2e 30 30 22 0d 72 65 74 |at to "0|.00".ret|
|000048e0| 75 72 6e 20 71 75 61 72 | 74 65 72 43 6f 75 6e 74 |urn quar|terCount|
|000048f0| 2f 78 0d 65 6e 64 20 63 | 6f 6e 76 65 72 74 48 72 |/x.end c|onvertHr|
|00004900| 73 0d 0d 6f 6e 20 73 65 | 74 41 75 74 6f 0d 67 6c |s..on se|tAuto.gl|
|00004910| 6f 62 61 6c 20 74 6b 50 | 72 65 66 73 2c 74 68 65 |obal tkP|refs,the|
|00004920| 52 65 73 75 6c 74 0d 69 | 66 20 6c 69 6e 65 20 31 |Result.i|f line 1|
|00004930| 37 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 22 |7 of tkP|refs = "|
|00004940| 46 61 6c 73 65 22 20 6f | 72 20 6c 69 6e 65 20 31 |False" o|r line 1|
|00004950| 37 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 65 |7 of tkP|refs = e|
|00004960| 6d 70 74 79 20 74 68 65 | 6e 20 70 75 74 20 35 20 |mpty the|n put 5 |
|00004970| 69 6e 74 6f 20 72 0d 65 | 6c 73 65 20 70 75 74 20 |into r.e|lse put |
|00004980| 34 20 69 6e 74 6f 20 72 | 0d 73 68 6f 77 44 69 61 |4 into r|.showDia|
|00004990| 6c 6f 67 20 33 2c 31 32 | 39 32 2c 22 41 75 74 6f |log 3,12|92,"Auto|
|000049a0| 6d 61 74 69 63 61 6c 6c | 79 20 63 72 65 61 74 65 |maticall|y create|
|000049b0| 20 44 61 69 6c 79 20 52 | 65 70 6f 72 74 73 20 61 | Daily R|eports a|
|000049c0| 66 74 65 72 20 74 72 61 | 6e 73 66 65 72 72 69 6e |fter tra|nsferrin|
|000049d0| 67 20 65 6e 74 72 69 65 | 73 3f 22 2c 2c 2c 72 0d |g entrie|s?",,,r.|
|000049e0| 70 75 74 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |put the |result i|
|000049f0| 6e 74 6f 20 74 68 65 52 | 65 73 75 6c 74 0d 69 66 |nto theR|esult.if|
|00004a00| 20 74 68 65 52 65 73 75 | 6c 74 20 3d 20 65 6d 70 | theResu|lt = emp|
|00004a10| 74 79 20 74 68 65 6e 20 | 65 78 69 74 20 73 65 74 |ty then |exit set|
|00004a20| 41 75 74 6f 0d 65 6c 73 | 65 0d 69 66 20 6c 69 6e |Auto.els|e.if lin|
|00004a30| 65 20 31 20 6f 66 20 74 | 68 65 52 65 73 75 6c 74 |e 1 of t|heResult|
|00004a40| 20 3d 20 34 20 74 68 65 | 6e 0d 70 75 74 20 22 54 | = 4 the|n.put "T|
|00004a50| 72 75 65 22 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |rue" int|o line 1|
|00004a60| 37 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 65 6c 73 |7 of tkP|refs.els|
|00004a70| 65 20 70 75 74 20 22 46 | 61 6c 73 65 22 20 69 6e |e put "F|alse" in|
|00004a80| 74 6f 20 6c 69 6e 65 20 | 31 37 20 6f 66 20 74 6b |to line |17 of tk|
|00004a90| 50 72 65 66 73 0d 65 6e | 64 20 69 66 0d 70 72 65 |Prefs.en|d if.pre|
|00004aa0| 66 53 65 74 0d 65 6e 64 | 20 73 65 74 41 75 74 6f |fSet.end| setAuto|
|00004ab0| 0d 0d 6f 6e 20 73 65 74 | 57 6b 6e 64 73 0d 67 6c |..on set|Wknds.gl|
|00004ac0| 6f 62 61 6c 20 74 6b 50 | 72 65 66 73 2c 74 68 65 |obal tkP|refs,the|
|00004ad0| 52 65 73 75 6c 74 0d 69 | 66 20 6c 69 6e 65 20 31 |Result.i|f line 1|
|00004ae0| 34 20 6f 66 20 74 6b 50 | 72 65 66 73 20 3d 20 22 |4 of tkP|refs = "|
|00004af0| 54 72 75 65 22 20 74 68 | 65 6e 20 70 75 74 20 34 |True" th|en put 4|
|00004b00| 20 69 6e 74 6f 20 72 0d | 65 6c 73 65 20 70 75 74 | into r.|else put|
|00004b10| 20 35 20 69 6e 74 6f 20 | 72 0d 73 68 6f 77 44 69 | 5 into |r.showDi|
|00004b20| 61 6c 6f 67 20 33 2c 31 | 32 39 32 2c 22 53 6b 69 |alog 3,1|292,"Ski|
|00004b30| 70 20 77 65 65 6b 65 6e | 64 73 20 77 68 65 6e 20 |p weeken|ds when |
|00004b40| 70 72 6f 6d 70 74 69 6e | 67 20 66 6f 72 20 6e 65 |promptin|g for ne|
|00004b50| 78 74 20 64 61 74 65 3f | 22 2c 2c 2c 72 0d 70 75 |xt date?|",,,r.pu|
|00004b60| 74 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 6e 74 |t the re|sult int|
|00004b70| 6f 20 74 68 65 52 65 73 | 75 6c 74 0d 69 66 20 74 |o theRes|ult.if t|
|00004b80| 68 65 52 65 73 75 6c 74 | 20 3d 20 65 6d 70 74 79 |heResult| = empty|
|00004b90| 20 74 68 65 6e 20 65 78 | 69 74 20 73 65 74 57 6b | then ex|it setWk|
|00004ba0| 6e 64 73 0d 65 6c 73 65 | 0d 69 66 20 6c 69 6e 65 |nds.else|.if line|
|00004bb0| 20 31 20 6f 66 20 74 68 | 65 52 65 73 75 6c 74 20 | 1 of th|eResult |
|00004bc0| 3d 20 34 20 74 68 65 6e | 0d 70 75 74 20 22 54 72 |= 4 then|.put "Tr|
|00004bd0| 75 65 22 20 69 6e 74 6f | 20 6c 69 6e 65 20 31 34 |ue" into| line 14|
|00004be0| 20 6f 66 20 74 6b 50 72 | 65 66 73 0d 65 6c 73 65 | of tkPr|efs.else|
|00004bf0| 20 70 75 74 20 22 46 61 | 6c 73 65 22 20 69 6e 74 | put "Fa|lse" int|
|00004c00| 6f 20 6c 69 6e 65 20 31 | 34 20 6f 66 20 74 6b 50 |o line 1|4 of tkP|
|00004c10| 72 65 66 73 0d 65 6e 64 | 20 69 66 0d 70 72 65 66 |refs.end| if.pref|
|00004c20| 53 65 74 0d 65 6e 64 20 | 73 65 74 57 6b 6e 64 73 |Set.end |setWknds|
|00004c30| 0d 0d 6f 6e 20 70 72 65 | 66 53 65 74 0d 67 6c 6f |..on pre|fSet.glo|
|00004c40| 62 61 6c 20 74 6b 50 72 | 65 66 73 0d 70 75 74 20 |bal tkPr|efs.put |
|00004c50| 74 6b 50 72 65 66 73 20 | 69 6e 74 6f 20 66 6c 64 |tkPrefs |into fld|
|00004c60| 20 69 64 20 34 38 20 6f | 66 20 66 69 72 73 74 20 | id 48 o|f first |
|00004c70| 63 64 0d 65 6e 64 20 70 | 72 65 66 53 65 74 0d 0d |cd.end p|refSet..|
|00004c80| 6f 6e 20 63 68 65 63 6b | 4e 75 6d 62 65 72 0d 67 |on check|Number.g|
|00004c90| 6c 6f 62 61 6c 20 6e 2c | 72 65 64 6f 2c 64 65 63 |lobal n,|redo,dec|
|00004ca0| 69 4e 75 6d 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |iNum.put| empty i|
|00004cb0| 6e 74 6f 20 64 65 63 69 | 4e 75 6d 0d 72 65 70 65 |nto deci|Num.repe|
|00004cc0| 61 74 20 77 69 74 68 20 | 78 20 3d 20 31 20 74 6f |at with |x = 1 to|
|00004cd0| 20 6c 65 6e 67 74 68 20 | 28 6e 29 20 2d 20 31 0d | length |(n) - 1.|
|00004ce0| 70 75 74 20 63 68 61 72 | 74 6f 4e 75 6d 20 6f 66 |put char|toNum of|
|00004cf0| 20 63 68 61 72 20 78 20 | 6f 66 20 6e 20 69 6e 74 | char x |of n int|
|00004d00| 6f 20 63 68 65 63 6b 4e | 75 6d 0d 69 66 20 63 68 |o checkN|um.if ch|
|00004d10| 65 63 6b 4e 75 6d 20 3d | 20 34 36 20 74 68 65 6e |eckNum =| 46 then|
|00004d20| 20 61 64 64 20 31 20 74 | 6f 20 64 65 63 69 4e 75 | add 1 t|o deciNu|
|00004d30| 6d 0d 69 66 20 63 68 65 | 63 6b 4e 75 6d 20 3d 20 |m.if che|ckNum = |
|00004d40| 34 36 20 61 6e 64 20 6c | 65 6e 67 74 68 20 28 6e |46 and l|ength (n|
|00004d50| 29 20 3c 20 33 20 6f 72 | 20 63 68 65 63 6b 4e 75 |) < 3 or| checkNu|
|00004d60| 6d 20 3c 3e 20 34 36 20 | 61 6e 64 20 c2 0d 63 68 |m <> 46 |and ..ch|
|00004d70| 65 63 6b 4e 75 6d 20 3c | 20 34 38 20 6f 72 20 63 |eckNum <| 48 or c|
|00004d80| 68 65 63 6b 4e 75 6d 20 | 3e 20 35 37 20 6f 72 20 |heckNum |> 57 or |
|00004d90| 64 65 63 69 4e 75 6d 20 | 3e 20 31 20 74 68 65 6e |deciNum |> 1 then|
|00004da0| 0d 6e 75 6d 57 61 72 6e | 69 6e 67 0d 70 75 74 20 |.numWarn|ing.put |
|00004db0| 74 72 75 65 20 69 6e 74 | 6f 20 72 65 64 6f 0d 65 |true int|o redo.e|
|00004dc0| 78 69 74 20 63 68 65 63 | 6b 4e 75 6d 62 65 72 0d |xit chec|kNumber.|
|00004dd0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00004de0| 74 0d 65 6e 64 20 63 68 | 65 63 6b 4e 75 6d 62 65 |t.end ch|eckNumbe|
|00004df0| 72 00 64 73 0d 0d 6f 6e | 20 70 72 65 66 53 65 74 |r.ds..on| prefSet|
|00004e00| 0d 67 6c 6f 62 61 6c 20 | 74 6b 50 72 65 66 73 0d |.global |tkPrefs.|
|00004e10| 70 75 74 20 74 6b 50 72 | 65 66 73 20 69 6e 74 6f |put tkPr|efs into|
|00004e20| 20 66 6c 64 20 69 64 20 | 34 38 20 6f 66 20 66 69 | fld id |48 of fi|
|00004e30| 72 73 74 20 63 64 0d 65 | 6e 64 20 70 72 65 66 53 |rst cd.e|nd prefS|
|00004e40| 65 74 0d 0d 6f 6e 20 63 | 68 65 63 6b 4e 75 6d 62 |et..on c|heckNumb|
|00004e50| 65 72 0d 67 6c 6f 62 61 | 6c 20 6e 2c 72 65 64 6f |er.globa|l n,redo|
|00004e60| 2c 64 65 63 69 4e 75 6d | 0d 70 75 74 20 65 6d 70 |,deciNum|.put emp|
|00004e70| 74 79 20 69 6e 74 6f 20 | 64 65 63 69 4e 75 6d 0d |ty into |deciNum.|
|00004e80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00004e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ea0| 00 00 00 00 00 00 00 00 | 00 02 c4 b8 00 08 49 70 |........|......Ip|
|00004eb0| 00 09 dc d1 00 09 df a9 | 00 06 4a af 00 09 ee 23 |........|..J....#|
|00004ec0| 00 09 e2 45 00 0a 0c a3 | 00 06 69 6d 00 09 d8 29 |...E....|..im...)|
|00004ed0| 00 07 12 a8 00 07 36 49 | 00 09 da 97 00 08 24 47 |......6I|......$G|
|00004ee0| 00 02 80 b7 00 02 84 c0 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005080| 00 00 00 80 4c 49 53 54 | 00 00 18 b7 00 00 00 00 |....LIST|........|
|00005090| 00 00 00 01 00 00 08 00 | 00 00 00 03 00 1c 00 02 |........|........|
|000050a0| 00 06 00 03 00 00 03 3b | 00 00 00 03 00 00 00 00 |.......;|........|
|000050b0| 00 00 19 c0 00 03 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005100| 00 00 08 00 50 41 47 45 | 00 00 19 c0 00 00 00 00 |....PAGE|........|
|00005110| 00 00 18 b7 3c 00 03 25 | 00 00 0b 70 60 7f ff ff |....<..%|...p`...|
|00005120| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00005130| ff ff ff fc 00 00 13 29 | 60 00 00 00 00 00 00 00 |.......)|`.......|
|00005140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005150| 00 00 16 97 60 00 00 00 | 00 00 00 00 00 00 00 00 |....`...|........|
|00005160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 70 c0 42 4b 47 44 | 00 00 0a b8 00 00 00 00 |..p.BKGD|........|
|00005910| 00 00 0e af 00 00 00 00 | 00 00 00 01 00 00 12 6d |........|.......m|
|00005920| 00 00 15 49 00 20 00 3c | 00 00 10 9c 00 00 00 00 |...I. .<|........|
|00005930| 00 00 01 ba 00 01 02 31 | 00 7c 00 3f 01 28 00 9d |.......1|.|.?.(..|
|00005940| 40 01 00 00 00 00 00 00 | 00 03 00 0a 00 00 00 0d |@.......|........|
|00005950| 64 61 69 6c 79 43 6c 69 | 65 6e 74 00 00 6f 6e 20 |dailyCli|ent..on |
|00005960| 6d 6f 75 73 65 55 70 0d | 67 6c 6f 62 61 6c 20 7a |mouseUp.|global z|
|00005970| 2c 64 2c 7a 6c 69 6e 65 | 2c 66 72 6f 6d 46 69 65 |,d,zline|,fromFie|
|00005980| 6c 64 2c 74 6f 46 69 65 | 6c 64 2c 74 79 70 65 2c |ld,toFie|ld,type,|
|00005990| 70 72 6f 6d 70 74 2c 6f | 70 74 69 6f 6e 2c 74 72 |prompt,o|ption,tr|
|000059a0| 75 6e 63 46 69 65 6c 64 | 0d 70 75 74 20 28 74 68 |uncField|.put (th|
|000059b0| 65 20 6d 6f 75 73 65 56 | 2d 31 31 33 29 20 64 69 |e mouseV|-113) di|
|000059c0| 76 20 31 33 20 69 6e 74 | 6f 20 7a 0d 69 66 20 6c |v 13 int|o z.if l|
|000059d0| 69 6e 65 20 7a 20 6f 66 | 20 6d 65 20 ad 20 65 6d |ine z of| me . em|
|000059e0| 70 74 79 20 74 68 65 6e | 0d 70 75 74 20 74 72 75 |pty then|.put tru|
|000059f0| 65 20 69 6e 74 6f 20 6f | 70 74 69 6f 6e 0d 70 75 |e into o|ption.pu|
|00005a00| 74 20 33 31 32 35 31 20 | 69 6e 74 6f 20 64 0d 70 |t 31251 |into d.p|
|00005a10| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 7a 6c 69 |ut true |into zli|
|00005a20| 6e 65 0d 70 75 74 20 22 | 52 65 70 6c 61 63 65 20 |ne.put "|Replace |
|00005a30| 65 6e 74 72 79 20 6f 6e | 20 6c 69 6e 65 20 22 20 |entry on| line " |
|00005a40| 26 20 7a 20 26 20 22 20 | 77 69 74 68 2e 2e 2e 22 |& z & " |with..."|
|00005a50| 20 69 6e 74 6f 20 70 72 | 6f 6d 70 74 0d 70 75 74 | into pr|ompt.put|
|00005a60| 20 31 37 20 69 6e 74 6f | 20 66 72 6f 6d 46 69 65 | 17 into| fromFie|
|00005a70| 6c 64 0d 70 75 74 20 35 | 30 20 69 6e 74 6f 20 74 |ld.put 5|0 into t|
|00005a80| 72 75 6e 63 46 69 65 6c | 64 0d 70 75 74 20 31 20 |runcFiel|d.put 1 |
|00005a90| 69 6e 74 6f 20 74 6f 46 | 69 65 6c 64 0d 70 75 74 |into toF|ield.put|
|00005aa0| 20 22 50 72 6f 6a 65 63 | 74 22 20 69 6e 74 6f 20 | "Projec|t" into |
|00005ab0| 74 79 70 65 0d 64 4c 6f | 67 0d 65 6c 73 65 20 67 |type.dLo|g.else g|
|00005ac0| 65 74 50 72 6f 6a 65 63 | 74 0d 70 75 74 20 66 61 |etProjec|t.put fa|
|00005ad0| 6c 73 65 20 69 6e 74 6f | 20 6f 70 74 69 6f 6e 0d |lse into| option.|
|00005ae0| 65 6e 64 20 6d 6f 75 73 | 65 75 70 00 00 2a 00 02 |end mous|eup..*..|
|00005af0| 02 b1 00 7e 00 7f 01 22 | 00 dc 40 01 00 00 00 00 |...~..."|..@.....|
|00005b00| 00 00 00 03 00 0a 00 00 | 00 0d 64 61 69 6c 79 4a |........|..dailyJ|
|00005b10| 6f 62 00 00 00 00 02 10 | 00 03 02 31 00 7c 01 40 |ob......|...1.|.@|
|00005b20| 01 28 01 8d 40 01 00 00 | 00 00 00 00 00 03 00 0a |.(..@...|........|
|00005b30| 00 00 00 0d 64 61 69 6c | 79 46 75 6e 63 74 69 6f |....dail|yFunctio|
|00005b40| 6e 00 00 6f 6e 20 6d 6f | 75 73 65 55 70 0d 67 6c |n..on mo|useUp.gl|
|00005b50| 6f 62 61 6c 20 7a 2c 64 | 2c 7a 6c 69 6e 65 2c 66 |obal z,d|,zline,f|
|00005b60| 72 6f 6d 46 69 65 6c 64 | 2c 74 6f 46 69 65 6c 64 |romField|,toField|
|00005b70| 2c 74 79 70 65 2c 70 72 | 6f 6d 70 74 2c 6f 70 74 |,type,pr|ompt,opt|
|00005b80| 69 6f 6e 2c 74 72 75 6e | 63 46 69 65 6c 64 0d 70 |ion,trun|cField.p|
|00005b90| 75 74 20 28 74 68 65 20 | 6d 6f 75 73 65 56 2d 31 |ut (the |mouseV-1|
|00005ba0| 31 33 29 20 64 69 76 20 | 31 33 20 69 6e 74 6f 20 |13) div |13 into |
|00005bb0| 7a 0d 69 66 20 74 68 65 | 20 6f 70 74 69 6f 6e 4b |z.if the| optionK|
|00005bc0| 65 79 20 69 73 20 64 6f | 77 6e 20 6f 72 20 6c 69 |ey is do|wn or li|
|00005bd0| 6e 65 20 7a 20 6f 66 20 | 6d 65 20 ad 20 65 6d 70 |ne z of |me . emp|
|00005be0| 74 79 20 74 68 65 6e 0d | 67 65 74 20 66 6c 64 20 |ty then.|get fld |
|00005bf0| 69 64 20 31 30 0d 73 68 | 6f 77 44 69 61 6c 6f 67 |id 10.sh|owDialog|
|00005c00| 20 37 2c 39 39 36 37 2c | 22 41 63 74 69 76 69 74 | 7,9967,|"Activit|
|00005c10| 79 20 66 6f 72 20 6c 69 | 6e 65 20 22 20 26 20 7a |y for li|ne " & z|
|00005c20| 20 26 20 22 3f 22 2c 53 | 79 73 74 65 6d 2c 31 32 | & "?",S|ystem,12|
|00005c30| 2c 69 74 2c 31 2c 6f 6e | 65 0d 69 66 20 6c 69 6e |,it,1,on|e.if lin|
|00005c40| 65 20 31 20 6f 66 20 74 | 68 65 20 72 65 73 75 6c |e 1 of t|he resul|
|00005c50| 74 20 69 73 20 32 20 74 | 68 65 6e 20 65 78 69 74 |t is 2 t|hen exit|
|00005c60| 20 6d 6f 75 73 65 55 70 | 0d 69 66 20 6c 69 6e 65 | mouseUp|.if line|
|00005c70| 20 31 20 6f 66 20 74 68 | 65 20 72 65 73 75 6c 74 | 1 of th|e result|
|00005c80| 20 69 73 20 31 20 74 68 | 65 6e 20 20 2d 2d 22 53 | is 1 th|en --"S|
|00005c90| 65 6c 65 63 74 22 0d 67 | 65 74 20 6c 69 6e 65 20 |elect".g|et line |
|00005ca0| 28 6c 69 6e 65 20 32 20 | 6f 66 20 74 68 65 20 72 |(line 2 |of the r|
|00005cb0| 65 73 75 6c 74 29 20 6f | 66 20 66 6c 64 20 69 64 |esult) o|f fld id|
|00005cc0| 20 31 30 0d 70 75 74 20 | 69 74 65 6d 20 31 20 6f | 10.put |item 1 o|
|00005cd0| 66 20 69 74 20 69 6e 74 | 6f 20 6c 69 6e 65 20 7a |f it int|o line z|
|00005ce0| 20 6f 66 20 66 6c 64 20 | 69 64 20 33 0d 65 6e 64 | of fld |id 3.end|
|00005cf0| 20 69 66 0d 65 6c 73 65 | 20 67 65 74 50 72 6f 6a | if.else| getProj|
|00005d00| 65 63 74 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |ect.put |false in|
|00005d10| 74 6f 20 6f 70 74 69 6f | 6e 0d 65 6e 64 20 6d 6f |to optio|n.end mo|
|00005d20| 75 73 65 75 70 00 01 a4 | 00 04 02 31 00 7c 01 90 |useup...|...1.|..|
|00005d30| 01 28 01 c0 40 01 00 00 | 00 00 ff ff 00 03 00 0a |.(..@...|........|
|00005d40| 00 00 00 0d 64 61 69 6c | 79 48 6f 75 72 73 00 00 |....dail|yHours..|
|00005d50| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 67 6c 6f 62 61 |on mouse|Up.globa|
|00005d60| 6c 20 6e 2c 68 6f 75 72 | 73 2c 72 65 64 6f 2c 7a |l n,hour|s,redo,z|
|00005d70| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00005d80| 72 65 64 6f 0d 70 75 74 | 20 28 74 68 65 20 6d 6f |redo.put| (the mo|
|00005d90| 75 73 65 56 2d 31 31 33 | 29 20 64 69 76 20 31 33 |useV-113|) div 13|
|00005da0| 20 69 6e 74 6f 20 7a 0d | 73 68 6f 77 44 69 61 6c | into z.|showDial|
|00005db0| 6f 67 20 32 2c 32 31 31 | 31 2c 22 20 20 20 20 20 |og 2,211|1," |
|00005dc0| 20 48 6f 75 72 73 20 66 | 6f 72 20 6c 69 6e 65 20 | Hours f|or line |
|00005dd0| 22 20 26 20 7a 20 26 20 | 22 3f 22 2c 2c 6c 69 6e |" & z & |"?",,lin|
|00005de0| 65 20 7a 20 6f 66 20 6d | 65 0d 70 75 74 20 74 68 |e z of m|e.put th|
|00005df0| 65 20 72 65 73 75 6c 74 | 20 69 6e 74 6f 20 6e 0d |e result| into n.|
|00005e00| 69 66 20 6e 20 69 73 20 | 65 6d 70 74 79 20 6f 72 |if n is |empty or|
|00005e10| 20 6e 20 3d 20 6e 75 6d | 74 6f 63 68 61 72 20 28 | n = num|tochar (|
|00005e20| 31 33 29 20 74 68 65 6e | 20 65 78 69 74 20 6d 6f |13) then| exit mo|
|00005e30| 75 73 65 55 70 0d 63 68 | 65 63 6b 4e 75 6d 62 65 |useUp.ch|eckNumbe|
|00005e40| 72 0d 69 66 20 72 65 64 | 6f 20 3d 20 74 72 75 65 |r.if red|o = true|
|00005e50| 20 74 68 65 6e 0d 73 65 | 6e 64 20 6d 6f 75 73 65 | then.se|nd mouse|
|00005e60| 55 70 20 74 6f 20 6d 65 | 0d 65 78 69 74 20 6d 6f |Up to me|.exit mo|
|00005e70| 75 73 65 55 70 0d 65 6e | 64 20 69 66 0d 64 65 6c |useUp.en|d if.del|
|00005e80| 65 74 65 20 74 68 65 20 | 6c 61 73 74 20 63 68 61 |ete the |last cha|
|00005e90| 72 20 6f 66 20 6e 0d 70 | 75 74 20 63 6f 6e 76 65 |r of n.p|ut conve|
|00005ea0| 72 74 48 72 73 28 6e 29 | 20 69 6e 74 6f 20 6c 69 |rtHrs(n)| into li|
|00005eb0| 6e 65 20 7a 20 6f 66 20 | 6d 65 0d 65 6e 64 20 6d |ne z of |me.end m|
|00005ec0| 6f 75 73 65 55 70 0d 0d | 00 00 01 bc 00 06 02 31 |ouseUp..|.......1|
|00005ed0| 00 7c 00 a1 01 28 01 3b | 40 01 00 00 00 00 00 00 |.|...(.;|@.......|
|00005ee0| 00 03 00 0a 00 00 00 0d | 64 61 69 6c 79 50 72 6f |........|dailyPro|
|00005ef0| 6a 65 63 74 00 00 6f 6e | 20 6d 6f 75 73 65 55 70 |ject..on| mouseUp|
|00005f00| 0d 67 6c 6f 62 61 6c 20 | 7a 2c 64 2c 7a 6c 69 6e |.global |z,d,zlin|
|00005f10| 65 2c 66 72 6f 6d 46 69 | 65 6c 64 2c 74 6f 46 69 |e,fromFi|eld,toFi|
|00005f20| 65 6c 64 2c 74 79 70 65 | 2c 70 72 6f 6d 70 74 2c |eld,type|,prompt,|
|00005f30| 6f 70 74 69 6f 6e 2c 74 | 72 75 6e 63 46 69 65 6c |option,t|runcFiel|
|00005f40| 64 0d 70 75 74 20 28 74 | 68 65 20 6d 6f 75 73 65 |d.put (t|he mouse|
|00005f50| 56 2d 31 31 33 29 20 64 | 69 76 20 31 33 20 69 6e |V-113) d|iv 13 in|
|00005f60| 74 6f 20 7a 0d 69 66 20 | 6c 69 6e 65 20 7a 20 6f |to z.if |line z o|
|00005f70| 66 20 6d 65 20 ad 20 65 | 6d 70 74 79 20 74 68 65 |f me . e|mpty the|
|00005f80| 6e 0d 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |n.put tr|ue into |
|00005f90| 6f 70 74 69 6f 6e 0d 70 | 75 74 20 33 31 32 35 31 |option.p|ut 31251|
|00005fa0| 20 69 6e 74 6f 20 64 0d | 70 75 74 20 74 72 75 65 | into d.|put true|
|00005fb0| 20 69 6e 74 6f 20 7a 6c | 69 6e 65 0d 70 75 74 20 | into zl|ine.put |
|00005fc0| 22 52 65 70 6c 61 63 65 | 20 65 6e 74 72 79 20 6f |"Replace| entry o|
|00005fd0| 6e 20 6c 69 6e 65 20 22 | 20 26 20 7a 20 26 20 22 |n line "| & z & "|
|00005fe0| 20 77 69 74 68 2e 2e 2e | 22 20 69 6e 74 6f 20 70 | with...|" into p|
|00005ff0| 72 6f 6d 70 74 0d 70 75 | 74 20 31 37 20 69 6e 74 |rompt.pu|t 17 int|
|00006000| 6f 20 66 72 6f 6d 46 69 | 65 6c 64 0d 70 75 74 20 |o fromFi|eld.put |
|00006010| 35 30 20 69 6e 74 6f 20 | 74 72 75 6e 63 46 69 65 |50 into |truncFie|
|00006020| 6c 64 0d 70 75 74 20 31 | 20 69 6e 74 6f 20 74 6f |ld.put 1| into to|
|00006030| 46 69 65 6c 64 0d 70 75 | 74 20 22 50 72 6f 6a 65 |Field.pu|t "Proje|
|00006040| 63 74 22 20 69 6e 74 6f | 20 74 79 70 65 0d 64 4c |ct" into| type.dL|
|00006050| 6f 67 0d 65 6c 73 65 20 | 67 65 74 50 72 6f 6a 65 |og.else |getProje|
|00006060| 63 74 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |ct.put f|alse int|
|00006070| 6f 20 6f 70 74 69 6f 6e | 0d 65 6e 64 20 6d 6f 75 |o option|.end mou|
|00006080| 73 65 75 70 00 00 00 2a | 00 09 02 b1 00 88 00 1b |seup...*|........|
|00006090| 00 9a 00 72 40 01 00 00 | 00 00 00 00 00 03 00 0a |...r@...|........|
|000060a0| 00 00 00 0d 6a 6f 62 4e | 75 6d 62 65 72 00 00 00 |....jobN|umber...|
|000060b0| 00 2e 00 0a 02 b1 00 88 | 00 76 01 17 00 cc 40 01 |........|.v....@.|
|000060c0| 00 00 00 00 00 00 00 03 | 00 0a 00 00 00 0d 6a 6f |........|......jo|
|000060d0| 62 46 75 6e 63 74 69 6f | 6e 73 00 00 00 00 00 2a |bFunctio|ns.....*|
|000060e0| 00 0e 02 b1 00 7f 01 42 | 01 0e 01 98 40 01 00 00 |.......B|....@...|
|000060f0| 00 00 00 00 00 03 00 0a | 00 00 00 0d 43 6f 6d 6d |........|....Comm|
|00006100| 65 6e 74 73 00 00 00 00 | 00 42 00 0f 02 31 00 3f |ents....|.B...1.?|
|00006110| 00 1b 00 55 01 da 00 01 | 00 00 00 00 00 01 00 b5 |...U....|........|
|00006120| 00 12 00 00 00 12 44 61 | 74 65 00 00 6f 6e 20 6d |......Da|te..on m|
|00006130| 6f 75 73 65 55 70 0d 6e | 65 77 44 61 79 0d 65 6e |ouseUp.n|ewDay.en|
|00006140| 64 20 6d 6f 75 73 65 55 | 70 00 00 2c 00 10 02 b1 |d mouseU|p..,....|
|00006150| 00 9f 00 54 01 2a 00 a4 | 40 01 00 00 00 00 00 00 |...T.*..|@.......|
|00006160| 00 03 00 0a 00 00 00 0d | 63 6c 69 65 6e 74 4c 69 |........|clientLi|
|00006170| 73 74 00 00 00 00 00 2a | 00 11 02 b1 00 9f 00 a8 |st.....*|........|
|00006180| 01 2a 00 f8 40 01 00 00 | 00 00 00 00 00 03 00 0a |.*..@...|........|
|00006190| 00 00 00 0d 6c 69 73 74 | 49 74 65 6d 73 00 00 00 |....list|Items...|
|000061a0| 00 44 00 1b 01 00 01 41 | 00 35 01 55 00 55 30 00 |.D.....A|.5.U.U0.|
|000061b0| 00 00 54 c4 00 01 00 00 | 00 0c 00 00 00 10 48 6f |..T.....|......Ho|
|000061c0| 6d 65 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 67 |me..on m|ouseUp.g|
|000061d0| 6f 20 48 6f 6d 65 0d 65 | 6e 64 20 6d 6f 75 73 65 |o Home.e|nd mouse|
|000061e0| 55 70 00 00 00 54 00 1c | 01 00 01 3d 00 ea 01 56 |Up...T..|...=...V|
|000061f0| 01 05 30 00 00 00 3c 3c | 00 01 00 00 00 0c 00 00 |..0...<<|........|
|00006200| 00 10 50 72 65 76 00 00 | 6f 6e 20 6d 6f 75 73 65 |..Prev..|on mouse|
|00006210| 55 70 0d 67 6f 20 6c 61 | 73 74 20 63 64 20 6f 66 |Up.go la|st cd of|
|00006220| 20 62 67 20 69 64 20 35 | 34 34 39 0d 65 6e 64 20 | bg id 5|449.end |
|00006230| 6d 6f 75 73 65 55 70 00 | 00 56 00 1d 01 00 01 3d |mouseUp.|.V.....=|
|00006240| 01 0c 01 56 01 27 30 00 | 00 00 40 b0 00 01 00 00 |...V.'0.|..@.....|
|00006250| 00 0c 00 00 00 10 4e 65 | 78 74 00 00 6f 6e 20 6d |......Ne|xt..on m|
|00006260| 6f 75 73 65 55 70 0d 67 | 6f 20 66 69 72 73 74 20 |ouseUp.g|o first |
|00006270| 63 64 20 6f 66 20 62 67 | 20 69 64 20 35 34 34 39 |cd of bg| id 5449|
|00006280| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 00 00 01 9c |.end mou|seUp....|
|00006290| 00 1e 02 31 00 7c 01 c3 | 01 27 01 d2 00 01 00 00 |...1.|..|.'......|
|000062a0| 00 00 00 00 00 03 00 0a | 00 00 00 0d 4e 6f 74 65 |........|....Note|
|000062b0| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 67 6c 6f |..on mou|seUp.glo|
|000062c0| 62 61 6c 20 7a 2c 61 75 | 74 6f 0d 69 66 20 61 75 |bal z,au|to.if au|
|000062d0| 74 6f 20 3c 3e 20 74 72 | 75 65 20 74 68 65 6e 20 |to <> tr|ue then |
|000062e0| 70 75 74 20 28 74 68 65 | 20 6d 6f 75 73 65 56 2d |put (the| mouseV-|
|000062f0| 31 31 33 29 20 64 69 76 | 20 31 33 20 69 6e 74 6f |113) div| 13 into|
|00006300| 20 7a 0d 73 68 6f 77 44 | 69 61 6c 6f 67 20 32 2c | z.showD|ialog 2,|
|00006310| 35 36 33 39 2c 22 4e 6f | 74 65 20 66 6f 72 20 6c |5639,"No|te for l|
|00006320| 69 6e 65 20 22 20 26 20 | 7a 20 26 20 22 3f 22 2c |ine " & |z & "?",|
|00006330| 22 22 2c 6c 69 6e 65 20 | 7a 20 6f 66 20 66 6c 64 |"",line |z of fld|
|00006340| 20 69 64 20 31 34 0d 67 | 65 74 20 74 68 65 20 72 | id 14.g|et the r|
|00006350| 65 73 75 6c 74 0d 69 66 | 20 63 68 61 72 74 6f 4e |esult.if| chartoN|
|00006360| 75 6d 20 6f 66 20 74 68 | 65 20 6c 61 73 74 20 63 |um of th|e last c|
|00006370| 68 61 72 20 6f 66 20 69 | 74 20 3d 20 31 33 20 74 |har of i|t = 13 t|
|00006380| 68 65 6e 20 64 65 6c 65 | 74 65 20 74 68 65 20 6c |hen dele|te the l|
|00006390| 61 73 74 20 63 68 61 72 | 20 6f 66 20 69 74 0d 70 |ast char| of it.p|
|000063a0| 75 74 20 69 74 20 69 6e | 74 6f 20 6c 69 6e 65 20 |ut it in|to line |
|000063b0| 7a 20 6f 66 20 66 6c 64 | 20 69 64 20 31 34 0d 69 |z of fld| id 14.i|
|000063c0| 66 20 6c 69 6e 65 20 7a | 20 6f 66 20 66 6c 64 20 |f line z| of fld |
|000063d0| 69 64 20 31 34 20 3c 3e | 20 65 6d 70 74 79 20 74 |id 14 <>| empty t|
|000063e0| 68 65 6e 0d 70 75 74 20 | 22 a5 22 20 69 6e 74 6f |hen.put |"." into|
|000063f0| 20 6c 69 6e 65 20 7a 20 | 6f 66 20 6d 65 0d 65 6c | line z |of me.el|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.